From 4756720923241a9e06fcb1c47110fdcad23bb8d9 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Fri, 17 Nov 2017 13:55:38 +0100 Subject: Use slug as the prefix for the docs CI job preview URL --- scripts/trigger-build-docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/trigger-build-docs') 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 # -- cgit v1.2.1