Skip to content

Commit

Permalink
ci: fix invalid issue number (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
nix6839 authored Sep 15, 2023
1 parent 1080491 commit a49a9b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
if: ${{ github.event.workflow_run.event != 'push' }}
uses: mshick/add-pr-comment@v2
with:
issue: ${{ github.event.workflow_run.pull_requests.number }}
issue: ${{ github.event.workflow_run.pull_requests[0].number }}
message-id: cloudflare-pages-preview-deployment
message: |
## <span aria-hidden="true">📤</span> Start Deploying preview...
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
if: ${{ github.event.workflow_run.event != 'push' }}
uses: mshick/add-pr-comment@v2
with:
issue: ${{ github.event.workflow_run.pull_requests.number }}
issue: ${{ github.event.workflow_run.pull_requests[0].number }}
message-id: cloudflare-pages-preview-deployment
message: |
## <span aria-hidden="true">✅</span> Preview Deployed Successfully!
Expand Down

0 comments on commit a49a9b1

Please sign in to comment.