From 03f2f333c265973a475935c026844bab53b840a6 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Tue, 25 Oct 2016 08:08:26 +0200 Subject: [PATCH] Add a variable to docs trigger and set Git strategy to none --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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