summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-10-25 08:08:26 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-10-25 08:08:26 +0200
commit03f2f333c265973a475935c026844bab53b840a6 (patch)
treed9b839f852a36ccd6a70ecb188b0a486cee75cca /.gitlab-ci.yml
parent1a7ba2a5e8603222b51a9e9cf0ffcde68cf593d2 (diff)
downloadgitlab-ce-03f2f333c265973a475935c026844bab53b840a6.tar.gz
Add a variable to docs trigger and set Git strategy to none
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 76117a48730..caf112cbd8f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -307,13 +307,16 @@ coverage:
- coverage/assets/
# Trigger docs build
+# https://gitlab.com/gitlab-com/doc-gitlab-com/blob/master/README.md#deployment-process
trigger_docs:
+ variables:
+ GIT_STRATEGY: none
stage: post-test
before_script: []
cache: {}
artifacts: {}
script:
- - "curl -X POST -F token=${DOCS_TRIGGER_TOKEN} -F ref=master https://gitlab.com/api/v3/projects/38069/trigger/builds"
+ - "curl -X POST -F token=${DOCS_TRIGGER_TOKEN} -F ref=master -F variables[PROJECT]=ce https://gitlab.com/api/v3/projects/38069/trigger/builds"
only:
- master