Continue execution of ci script if posting a comment fails

Test Plan:
Create PR run for forked repo and see if the CI still finishes even if
the commment creation fails

Reviewers:

Pull Request: https://github.com/GraphiteEditor/Graphite/pull/1164
This commit is contained in:
Dennis Kobert 2023-04-26 11:59:19 +02:00 committed by Keavon Chambers
parent d8dfcb28ac
commit c61ea003a7

View file

@ -28,6 +28,7 @@ jobs:
- name: Comment deploy start
if: github.event_name != 'push'
uses: mshick/add-pr-comment@v2
continue-on-error: true
with:
message-id: cloudflare-deploy
message: |
@ -65,6 +66,7 @@ jobs:
- name: Publish
id: cloudflare
uses: cloudflare/pages-action@1
continue-on-error: true
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
@ -74,6 +76,7 @@ jobs:
- name: Comment deploy url
uses: mshick/add-pr-comment@v2
continue-on-error: true
with:
message-id: cloudflare-deploy
message: |