Browse Source

Fail if deploy returned 502

merge-requests/6/head
Shaka 7 years ago
parent
commit
939f798693
  1. 2
      .gitlab-ci.yml

2
.gitlab-ci.yml

@ -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:

Loading…
Cancel
Save