1
0
forked from MTSR/mapserver

add discord notifications

This commit is contained in:
Buckaroo Banzai 2020-08-30 18:10:41 +02:00 committed by GitHub
parent ac04991745
commit 44baadb6ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,3 +13,18 @@ jobs:
- name: integration-test
run: ./integration-test.sh
- name: 📧 Discord success notification
env:
DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}
uses: Ilshidur/action-discord@master
with:
args: '☑️ Integration test passed for branch `${{ github.ref }}` and commit `${{ github.sha }}`'
- name: 📧 Discord failure notification
if: failure()
env:
DISCORD_WEBHOOK: ${{ secrets.discord_webhook }}
uses: Ilshidur/action-discord@master
with:
args: '🚫 Integration test failed for branch `${{ github.ref }}` and commit `${{ github.sha }}`'