diff options
author | Laurent Peuch <cortex@worlddomination.be> | 2020-05-13 17:00:17 +0200 |
---|---|---|
committer | Laurent Peuch <cortex@worlddomination.be> | 2020-05-13 17:00:17 +0200 |
commit | 0fdffeea8dd9062ecf7514439a4d3d7349da30fc (patch) | |
tree | 96db642bd8a5ed09f8f2d55e95e3f1376c7bcbc2 /.gitlab-ci.yml | |
parent | 28b9c729e43af9115d1043dc37ffb4ca22555f5a (diff) | |
download | logilab-common-0fdffeea8dd9062ecf7514439a4d3d7349da30fc.tar.gz |
[doc] trigger readthedocs build on successful build
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6670190..cb8c764 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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" |