summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Peuch <cortex@worlddomination.be>2020-05-28 00:29:39 +0200
committerLaurent Peuch <cortex@worlddomination.be>2020-05-28 00:29:39 +0200
commite2cbc7ca459c6a79fa83653b9df06768e765548a (patch)
tree12da48ab1b4ceeb9dd2b377b56404780a7e857b4
parente9a1c1ec4b436d0518c2e585ecf6ad75fa9e0216 (diff)
downloadlogilab-common-e2cbc7ca459c6a79fa83653b9df06768e765548a.tar.gz
[gitlab-ci] only trigger readthedocs on branch/default
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8e2ef18..5ac0c6e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,6 +39,9 @@ trigger-other-pipelines:
- curl -X POST -F "variables[TRIGGERED_FROM_OTHER_PROJECT]=true" -F "token=$LOGILAB_DATABASE_PIPELINE_TRIGGER_TOKEN" -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/248/trigger/pipeline -w "\nhttp code:"\ "%{http_code}\n" -f
trigger-readthedocs:
+ only:
+ refs:
+ - branch/default
stage: after-tests
script:
# regarding the " everywhere when there is a '%': yaml is extremly weird when % are involved