diff options
author | Laurent Peuch <cortex@worlddomination.be> | 2020-05-28 00:29:39 +0200 |
---|---|---|
committer | Laurent Peuch <cortex@worlddomination.be> | 2020-05-28 00:29:39 +0200 |
commit | e2cbc7ca459c6a79fa83653b9df06768e765548a (patch) | |
tree | 12da48ab1b4ceeb9dd2b377b56404780a7e857b4 | |
parent | e9a1c1ec4b436d0518c2e585ecf6ad75fa9e0216 (diff) | |
download | logilab-common-e2cbc7ca459c6a79fa83653b9df06768e765548a.tar.gz |
[gitlab-ci] only trigger readthedocs on branch/default
-rw-r--r-- | .gitlab-ci.yml | 3 |
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 |