Skip to content

Commit ef8a7de

Browse files
authored
Merge pull request #448 from NASA-Openscapes/fix-deploy-preview-url
deploy preview: ensure PR # is in the URL
2 parents 5318d14 + 1c89119 commit ef8a7de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
github-token: ${{ secrets.GITHUB_TOKEN }}
8282
deploy-message:
8383
'Deploy from GHA: ${{ github.event.pull_request.title || github.event.head_commit.message }} (${{ github.sha }})'
84-
alias: deploy-preview-${{ github.event.number }}
84+
alias: deploy-preview-${{ github.event.pull_request.number || github.event.issue.number }}
8585
# these all default to 'true'
8686
enable-pull-request-comment: true
8787
enable-commit-comment: false

0 commit comments

Comments
 (0)