diff options
author | Stan Hu <stanhu@gmail.com> | 2018-06-26 15:24:23 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-06-26 15:24:23 -0700 |
commit | a5ca56eeeddc3cc1f1e92608b8b67e917d86837e (patch) | |
tree | 1604662b67066b2edd25be0d7bcd7ded75069aed /scripts/trigger-build-docs | |
parent | d7c79839d3e993c8166907fbe277752115897fee (diff) | |
parent | 292cf668905a55e7b305c67b314cb039d2681a54 (diff) | |
download | gitlab-ce-a5ca56eeeddc3cc1f1e92608b8b67e917d86837e.tar.gz |
Merge branch 'master' into sh-support-bitbucket-server-import
Diffstat (limited to 'scripts/trigger-build-docs')
-rwxr-xr-x | scripts/trigger-build-docs | 2 |
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 # |