Fail if deploy returned 502

This commit is contained in:
Shaka 2018-08-24 11:56:05 +02:00
parent ce75397d26
commit 939f798693

View file

@ -33,7 +33,7 @@ build_image_prod:
deploy: deploy:
stage: deploy stage: deploy
script: 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: only:
- master - master
environment: environment: