use continue-on-error
parent
194b7332e1
commit
7e1f9e60f6
|
@ -17,7 +17,7 @@ jobs:
|
|||
run: ./test.sh
|
||||
|
||||
- name: 📧 Discord success notification
|
||||
if: ${{ secrets.discord_webhook }}
|
||||
continue-on-error: true
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
|
@ -25,7 +25,7 @@ jobs:
|
|||
args: '☑️ Integration test passed for branch `${{ github.ref }}` and commit `${{ github.sha }}`'
|
||||
|
||||
- name: 📧 Discord failure notification
|
||||
if: ${{ failure() && secrets.discord_webhook }}
|
||||
if: failure()
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
|
|
Loading…
Reference in New Issue