Now with bash and native repo

This commit is contained in:
Firq 2023-03-11 01:31:48 +01:00
parent 69035f6db8
commit d82e4fb49f
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -25,13 +25,10 @@ success_notification:
- apk update
- apk add curl
- apk add git
- apk add file
- apk add dos2unix
- apk add bash
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
- file ./send.sh
- dos2unix ./send.sh
- ./send.sh success $WEBHOOK_URL
when: on_success
failure_notification:
@ -40,8 +37,9 @@ failure_notification:
- apk update
- apk add curl
- apk add git
- apk add bash
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
- ./send.sh failure $WEBHOOK_URL
when: on_failure