Add a variable to docs trigger and set Git strategy to none
This commit is contained in:
parent
1a7ba2a5e8
commit
03f2f333c2
1 changed files with 4 additions and 1 deletions
|
@ -307,13 +307,16 @@ 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:
|
||||||
|
variables:
|
||||||
|
GIT_STRATEGY: none
|
||||||
stage: post-test
|
stage: post-test
|
||||||
before_script: []
|
before_script: []
|
||||||
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]=ce https://gitlab.com/api/v3/projects/38069/trigger/builds"
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue