summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-10-13 12:44:56 +0000
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-10-13 12:44:56 +0000
commit6d48c489d93d6dcbdfd955b7456d97ba6cdb23d1 (patch)
treeaa3526702d83c80707dcd8635bdb394d5e429f82
parentd3a48fec53cb6f3422c7aaa3ada9da1c7944c41d (diff)
parent1290df050bc338776749f8f1965b44aae6baf726 (diff)
downloadgitlab-ce-6d48c489d93d6dcbdfd955b7456d97ba6cdb23d1.tar.gz
Merge branch 'trigger-docs' into 'master'
Add job to trigger a docs.gitlab.com build ## What does this MR do? Add a job to build the docs site every time master tests pass. ## What are the relevant issue numbers? https://gitlab.com/gitlab-com/doc-gitlab-com/issues/56 See merge request !6850
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 441f77740a8..62e06683124 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -299,6 +299,14 @@ coverage:
- coverage/index.html
- coverage/assets/
+# Trigger docs build
+trigger_docs:
+ stage: post-test
+ script:
+ - "curl -X POST -F token=${DOCS_TRIGGER_TOKEN} -F ref=master https://gitlab.com/api/v3/projects/38069/trigger/builds"
+ only:
+ - master
+
# Notify slack in the end
notify:slack: