Skip to content

Commit

Permalink
ci: update pr comment logic (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
nix6839 committed Sep 15, 2023
1 parent 21aa278 commit 2a04cf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +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 }}
message-id: cloudflare-pages-preview-deployment
message: |
## <span aria-hidden="true">📤</span> Start Deploying preview...
Expand Down Expand Up @@ -76,6 +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 }}
message-id: cloudflare-pages-preview-deployment
message: |
## <span aria-hidden="true">✅</span> Preview Deployed Successfully!
Expand Down

0 comments on commit 2a04cf2

Please sign in to comment.