From d82e4fb49f6f72394af37c867561a0bf1dc54e79 Mon Sep 17 00:00:00 2001 From: Firq Date: Sat, 11 Mar 2023 01:31:48 +0100 Subject: [PATCH] Now with bash and native repo --- .gitlab-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 192c6e6..c785f75 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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