diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 474bf6765f4106472e70d86421da3aae8e41ea81..6a1dd054d99ed4705c627f8e729840a515592e9a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -311,15 +311,20 @@ coverage: - coverage/assets/ # Trigger docs build +# https://gitlab.com/gitlab-com/doc-gitlab-com/blob/master/README.md#deployment-process trigger_docs: stage: post-test - before_script: [] + image: "alpine" + before_script: + - apk update && apk add curl + variables: + GIT_STRATEGY: none 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 + - master@gitlab-org/gitlab-ce # Notify slack in the end