diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-06-25 09:30:18 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-06-25 15:21:15 +0200 |
commit | 82012d460847f3c86338c833b7c10a3207ad18a8 (patch) | |
tree | 8011aa210699dfa890de9e261e2304f2f13b7092 /scripts/trigger-build-docs | |
parent | 2bac2918b2d6f12d94f739f4b6865b9e9221c642 (diff) | |
download | gitlab-ce-82012d460847f3c86338c833b7c10a3207ad18a8.tar.gz |
Always run review app for docs-only branches
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 # |