Skip to content

Commit

Permalink
ci: pull_request => pull_request_target
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Aug 22, 2023
1 parent 2e13100 commit f3725bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'

0 comments on commit f3725bb

Please sign in to comment.