diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b1bcbfb..f772d53 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,16 @@ before_script: - - echo "Before script section" + - echo "Hier lassen sich Aufgaben VOR dem Compilen angeben" + - curl -H "Content-Type: application/json" -X POST -d '{"username": "GitLab CI Bot", "content": "**samp-test**\nStatus: Build ausstehend"}' https://discordapp.com/api/webhooks/612431337889988614/vj974mFqeTSBX7QfNIQsSLCI1H0nNmC1g0L0PV1G_R27I_6hNaWClFMCNCnx2Ej3LT5U after_script: - - echo "After script section" + - echo "Hier lassen sich Aufgaben NACH dem Compilen angeben" + - curl -H "Content-Type: application/json" -X POST -d '{"username": "GitLab CI Bot", "content": "**samp-test**\nStatus: Build abgeschlossen"}' https://discordapp.com/api/webhooks/612431337889988614/vj974mFqeTSBX7QfNIQsSLCI1H0nNmC1g0L0PV1G_R27I_6hNaWClFMCNCnx2Ej3LT5U build1: stage: build script: - ~/pawncc gamemodes/bare.pwn -iinclude "-;+" -v2 -d3 -Z+ + - curl -H "Content-Type: application/json" -X POST -d '{"username": "GitLab CI Bot", "content": "**samp-test**\nStatus: Build erfolgreich"}' https://discordapp.com/api/webhooks/612431337889988614/vj974mFqeTSBX7QfNIQsSLCI1H0nNmC1g0L0PV1G_R27I_6hNaWClFMCNCnx2Ej3LT5U artifacts: paths: - bare.amx