Discord webhook

This commit is contained in:
Loïc Bersier 2019-11-21 14:25:20 +00:00
parent a40f27164b
commit 86dfdff70c

16
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,16 @@
stages:
- notification
success_notification:
stage: notification
script:
- wget https://raw.githubusercontent.com/DiscordHooks/gitlab-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh success $WEBHOOK_URL
when: on_success
success_notification:
stage: notification
script:
- wget https://raw.githubusercontent.com/DiscordHooks/gitlab-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_URL
when: on_failure