Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2017-11-17 15:55:38 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2017-11-17 16:07:06 +0300
commit4756720923241a9e06fcb1c47110fdcad23bb8d9 (patch)
treeb5d20d4975f832320722709d4ff30ace0e1c7e1e /scripts/trigger-build-docs
parent69dd59aec9e5f8959fa36eb74db28d71aad4212b (diff)
Use slug as the prefix for the docs CI job preview URL
Diffstat (limited to 'scripts/trigger-build-docs')
-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 89ad6a99467..a270823b857 100755
--- a/scripts/trigger-build-docs
+++ b/scripts/trigger-build-docs
@@ -27,7 +27,7 @@ def docs_branch
# Prefix the remote branch with 'preview-' in order to avoid
# name conflicts in the rare case the branch name already
# exists in the docs repo and truncate to max length.
- "preview-#{ENV["CI_COMMIT_REF_SLUG"]}"[0...max]
+ "#{slug}-#{ENV["CI_COMMIT_REF_SLUG"]}"[0...max]
end
#