Skip to content

Commit

Permalink
chore(ci): step condition
Browse files Browse the repository at this point in the history
  • Loading branch information
nomyfan committed Apr 22, 2024
1 parent 7fdb7c3 commit 0f276c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Comment deploy start
if: github.event_name != 'push'
if: ${{ github.event.workflow_run.event != 'push' }}
uses: mshick/add-pr-comment@v2
with:
message-id: cloudflare-deploy
Expand Down Expand Up @@ -85,6 +85,7 @@ jobs:

- name: Comment deploy URL
uses: mshick/add-pr-comment@v2
if: ${{ github.event.workflow_run.event != 'push' }}
with:
message-id: cloudflare-deploy
message: |
Expand Down

0 comments on commit 0f276c6

Please sign in to comment.