From f3725bbed1508d2729878210fbe871a539592ced Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Fri, 11 Aug 2023 23:04:37 -0500 Subject: [PATCH] ci: pull_request => pull_request_target --- .github/workflows/Deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 6535dc8..b9f79ef 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -22,7 +22,7 @@ jobs: - name: 👀 Set preview path for PRs run: | echo 'PRID=${{ env.PREVIEWS_PREFIX}}${{ github.event.number}}' >> $GITHUB_ENV - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request_target' shell: bash - name: 🚀 Build and Deploy @@ -42,4 +42,4 @@ jobs: Preview should be up in a couple of mins at https://${{ env.GH_USERNAME }}.github.io/${{ env.REPO_PREFIX }}/${{ env.PRID }} (if you get a 404, wait 30s then refresh). - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request_target'