Browse Source

Update .gitlab-ci.yml

master
Niels Peretzke 5 years ago
parent
commit
e40204ce4d
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      .gitlab-ci.yml

+ 5
- 2
.gitlab-ci.yml View File

@ -1,13 +1,16 @@
before_script: 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: 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: build1:
stage: build stage: build
script: script:
- ~/pawncc gamemodes/bare.pwn -iinclude "-;+" -v2 -d3 -Z+ - ~/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: artifacts:
paths: paths:
- bare.amx - bare.amx


Loading…
Cancel
Save