summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-10-13 14:00:56 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-10-13 14:00:56 +0200
commit1290df050bc338776749f8f1965b44aae6baf726 (patch)
tree165525b527dfcb4285651116181869f4dbe4e295
parent21e3712a07987f0a58282daf58f3e6aa66dd68fc (diff)
downloadgitlab-ce-trigger-docs.tar.gz
Add job to trigger a docs.gitlab.com buildtrigger-docs
-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: