We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d0bd66 commit b2db28cCopy full SHA for b2db28c
.github/workflows/preview-build.yml
@@ -78,7 +78,7 @@ jobs:
78
id: metadata
79
env:
80
PR_NUMBER: ${{ github.event.pull_request.number }}
81
- REF: ${{ github.sha }}
+ REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
82
SHOULD_DEPLOY: ${{ github.event_name == 'pull_request' && steps.check-files.outputs.any_changed || 'true' }}
83
run: |
84
cat << EOF > deployment_metadata.json
0 commit comments