Now with bash and native repo
This commit is contained in:
parent
69035f6db8
commit
d82e4fb49f
1 changed files with 4 additions and 6 deletions
|
@ -25,13 +25,10 @@ success_notification:
|
||||||
- apk update
|
- apk update
|
||||||
- apk add curl
|
- apk add curl
|
||||||
- apk add git
|
- apk add git
|
||||||
- apk add file
|
- apk add bash
|
||||||
- apk add dos2unix
|
|
||||||
script:
|
script:
|
||||||
- wget https://raw.githubusercontent.com/Firq-ow/gitlab-ci-discord-webhook/master/send.sh
|
- wget https://raw.githubusercontent.com/DiscordHooks/gitlab-ci-discord-webhook/master/send.sh
|
||||||
- chmod +x send.sh
|
- chmod +x send.sh
|
||||||
- file ./send.sh
|
|
||||||
- dos2unix ./send.sh
|
|
||||||
- ./send.sh success $WEBHOOK_URL
|
- ./send.sh success $WEBHOOK_URL
|
||||||
when: on_success
|
when: on_success
|
||||||
failure_notification:
|
failure_notification:
|
||||||
|
@ -40,8 +37,9 @@ failure_notification:
|
||||||
- apk update
|
- apk update
|
||||||
- apk add curl
|
- apk add curl
|
||||||
- apk add git
|
- apk add git
|
||||||
|
- apk add bash
|
||||||
script:
|
script:
|
||||||
- wget https://raw.githubusercontent.com/Firq-ow/gitlab-ci-discord-webhook/master/send.sh
|
- wget https://raw.githubusercontent.com/DiscordHooks/gitlab-ci-discord-webhook/master/send.sh
|
||||||
- chmod +x send.sh
|
- chmod +x send.sh
|
||||||
- ./send.sh failure $WEBHOOK_URL
|
- ./send.sh failure $WEBHOOK_URL
|
||||||
when: on_failure
|
when: on_failure
|
||||||
|
|
Loading…
Reference in a new issue