Commit 9e37d1e8 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-trigger-variable' into 'master'

Add a trigger variable to docs trigger job

From https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7089

See merge request !819
parents 720775b7 642185e5
...@@ -309,15 +309,20 @@ coverage: ...@@ -309,15 +309,20 @@ coverage:
- coverage/assets/ - coverage/assets/
# Trigger docs build # Trigger docs build
# https://gitlab.com/gitlab-com/doc-gitlab-com/blob/master/README.md#deployment-process
trigger_docs: trigger_docs:
stage: post-test stage: post-test
before_script: [] image: "alpine"
before_script:
- apk update && apk add curl
variables:
GIT_STRATEGY: none
cache: {} cache: {}
artifacts: {} artifacts: {}
script: 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]=ee https://gitlab.com/api/v3/projects/38069/trigger/builds"
only: only:
- master - master@gitlab-org/gitlab-ee
# Notify slack in the end # Notify slack in the end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment