fix conditional value

master
Buckaroo Banzai 2021-02-01 07:30:51 +01:00 committed by GitHub
parent f454487d82
commit 1ae7092bfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ jobs:
run: ./test.sh
- name: 📧 Discord success notification
if: secrets.discord_webhook
if: ${{ secrets.discord_webhook }}
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() and secrets.discord_webhook
if: ${{ failure() and secrets.discord_webhook }}
env:
DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}
uses: Ilshidur/action-discord@master