Fail if deploy returned 502
This commit is contained in:
parent
ce75397d26
commit
939f798693
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue