Commit d3b82ff9 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

[doc] trigger readthedocs build on successful build

parent 10ed842e640f
Pipeline #7699 passed with stages
in 3 minutes and 22 seconds
......@@ -36,3 +36,8 @@ trigger-other-pipelines:
- "curl -X POST -F token=$LOGILAB_CONSTRAINT_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/409/trigger/pipeline"
- "curl -X POST -F token=$LOGILAB_MTCONVERTER_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/410/trigger/pipeline"
- "curl -X POST -F token=$LOGILAB_DATABASE_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/248/trigger/pipeline"
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/logilab-common/89595/; fi"
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