summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2018-09-02 12:28:42 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-09-02 12:40:38 +0900
commitcb7d4340d06e687fd65a4922841f4fb2712b0eee (patch)
tree22f4936d72c14a834352d360a18bba1dfdabd529 /.gitlab-ci.yml
parentba99dfcde262c91e33b5bf7f86ba7c0e3b6f7e52 (diff)
downloadgitlab-ce-cb7d4340d06e687fd65a4922841f4fb2712b0eee.tar.gz
Run review-docs-cleanup job for gitlab-org repos only
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 23d71675ae4..db1ce3e9054 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -311,10 +311,13 @@ review-docs-cleanup:
environment:
name: review-docs/$CI_COMMIT_REF_SLUG
action: stop
- when: manual
script:
- gem install gitlab --no-ri --no-rdoc
- ./$SCRIPT_NAME cleanup
+ when: manual
+ only:
+ - branches@gitlab-org/gitlab-ce
+ - branches@gitlab-org/gitlab-ee
##
# Trigger a docker image build in CNG (Cloud Native GitLab) repository