Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Public
templates
gitlab-ci.yml
Commits
0a7596fd
Commit
0a7596fd
authored
Feb 24, 2022
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ci-jekyll-gl_pages-primary.yml
ci-jekyll-gl_pages-primary.yml
+1
-1
No files found.
ci-jekyll-gl_pages-primary.yml
View file @
0a7596fd
...
...
@@ -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"
...
...
Fredy PULIDO
🇨🇦
@fpulido
mentioned in issue
#6 (closed)
·
Feb 25, 2022
mentioned in issue
#6 (closed)
mentioned in issue #6
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment