Merge branch 'fix-ci' into 'master'

Fail if deploy returned 502

See merge request klafyvel/klafirc!6
This commit is contained in:
Shaka 2018-08-24 11:59:11 +02:00
commit f63f8896e8

View file

@ -33,7 +33,7 @@ build_image_prod:
deploy:
stage: deploy
script:
- "curl -X POST lupercus.rez -d \"$API_VARS\" -H \"Content-Type: application/json\""
- "curl -X POST lupercus.rez -d \"$API_VARS\" -H \"Content-Type: application/json\" --fail"
only:
- master
environment: