Skip to content

Commit 58d6998

Browse files
committed
Fix event_name
1 parent 584eb73 commit 58d6998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/preview-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
id: deployment
6060
env:
6161
PR_NUMBER: ${{ github.event.pull_request.number }}
62-
REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref_name }}
62+
REF: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref_name }}
6363
with:
6464
result-encoding: string
6565
script: |

0 commit comments

Comments
 (0)