summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-06-25 13:34:22 +0000
committerRémy Coutable <remy@rymai.me>2018-06-25 13:34:22 +0000
commitcab5374b0582db7fc97afb1a78ae0ae2fc41fc9e (patch)
treef2c170ba20cfda48c56981410f6342aa9e052c2d /scripts
parent7a99a8c2ce38823ca7336ac4e3cb328274d7338b (diff)
parent82012d460847f3c86338c833b7c10a3207ad18a8 (diff)
downloadgitlab-ce-cab5374b0582db7fc97afb1a78ae0ae2fc41fc9e.tar.gz
Merge branch 'docs/always-on-review-apps-for-docs' into 'master'
Always run review app for docs-only branches See merge request gitlab-org/gitlab-ce!20130
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/trigger-build-docs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/trigger-build-docs b/scripts/trigger-build-docs
index c9aaba91aa0..2a0e7f4d76e 100755
--- a/scripts/trigger-build-docs
+++ b/scripts/trigger-build-docs
@@ -27,7 +27,7 @@ def docs_branch
# Prefix the remote branch with the slug of the project in order
# to avoid name conflicts in the rare case the branch name already
# exists in the docs repo and truncate to max length.
- "#{slug}-#{ENV["CI_COMMIT_REF_SLUG"]}"[0...max]
+ "#{slug}-#{ENV["CI_ENVIRONMENT_SLUG"]}"[0...max]
end
#