Commit 0a7596fd authored by Fredy PULIDO's avatar Fredy PULIDO 🇨🇦
Browse files

jekyll: curl fail if http code is 400 or greater

- fixes: pipeline does not fail when API call returns 404
parent 247e9ae0
......@@ -29,7 +29,7 @@ deploy_preprod:
image: curlimages/curl
script: # Trigger $CI_SECONDARY_PROJECT_ID (defined in CI/CD Settings Variables)
- >
curl --request POST
curl --fail-with-body --request POST
--form "token=$CI_JOB_TOKEN"
--form ref=master
--form "variables[CI_REMOTE_PROJECT_ID]=$CI_PROJECT_ID"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment