forked from Supositware/Haha-Yes
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
488 B
YAML
16 lines
488 B
YAML
5 years ago
|
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
|