|
|
@ -1,16 +1,13 @@ |
|
|
|
before_script: |
|
|
|
- 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 "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 |
|
|
|