forked from github/cinny
Update deploy PR workflow name to include PR number (#2726)
This commit is contained in:
5
.github/workflows/deploy-pull-request.yml
vendored
5
.github/workflows/deploy-pull-request.yml
vendored
@@ -1,4 +1,5 @@
|
||||
name: Deploy PR to Netlify
|
||||
run-name: Deploy PR #${{ github.event.workflow_run.pull_requests[0].number }}
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
@@ -7,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
deploy-pull-request:
|
||||
name: Deploy pull request
|
||||
name: Deploy PR #${{ github.event.workflow_run.pull_requests[0].number }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -53,4 +54,4 @@ jobs:
|
||||
comment-tag: ${{ steps.pr.outputs.id }}
|
||||
message: |
|
||||
Preview: ${{ steps.netlify.outputs.deploy-url }}
|
||||
⚠️ Exercise caution. Use test accounts. ⚠️
|
||||
⚠️ Exercise caution. Use test accounts. ⚠️
|
||||
|
||||
Reference in New Issue
Block a user