Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
yams
Commits
dec84430a283
Commit
bcd8bc91
authored
May 13, 2020
by
Laurent Peuch
Browse files
[doc] trigger readthedocs build on successful build
parent
e8e287762ce0
Pipeline
#7773
passed with stages
in 5 minutes and 50 seconds
Changes
1
Pipelines
26
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
dec84430
...
...
@@ -35,3 +35,8 @@ trigger-other-pipelines:
stage
:
after-tests
script
:
-
"
if
[
-z
\"
${TRIGGERED_FROM_OTHER_PROJECT}
\"
];
then
curl
-X
POST
-F
token=$CUBICWEB_PIPELINE_TRIGGER_TOKEN
-F
ref=branch/default
https://forge.extranet.logilab.fr/api/v4/projects/385/trigger/pipeline;
fi"
trigger-readthedocs
:
stage
:
after-tests
script
:
-
"
if
[
-z
\"
${TRIGGERED_FROM_OTHER_PROJECT}
\"
];
then
curl
-X
POST
-d
\"
token=${READTHEDOCS_TOKEN}
\"
https://readthedocs.org/api/v2/webhook/yams/109442/;
fi"
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