Merge pull request #5472 from thornbill/master

Add missing ref fallback in publish action
This commit is contained in:
Bill Thornton 2024-05-09 16:27:29 -04:00 committed by GitHub
commit a1a2528806
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,7 +73,7 @@ jobs:
- pr-context
with:
branch: ${{ needs.pr-context.outputs.branch }}
branch: ${{ needs.pr-context.outputs.branch || github.ref_name }}
commit: ${{ needs.pr-context.outputs.commit != '' && needs.pr-context.outputs.commit || github.event.workflow_run.head_sha }}
preview_url: ${{ needs.publish.outputs.url }}
build_workflow_run_id: ${{ github.event.workflow_run.id }}