summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-07-04 11:58:26 +0200
committerAchilleas Pipinellis <axil@gitlab.com>2018-07-04 11:58:26 +0200
commit5c19f09a75d13114ff1c7a889edc31f3155f2973 (patch)
treeb3ff2a07db5bf48ebc4b8daf8aa9d2b3e6a5cc5d /.gitlab-ci.yml
parent275fbf24b1810e2fbef92b6599d5372855b97b46 (diff)
downloadgitlab-ce-5c19f09a75d13114ff1c7a889edc31f3155f2973.tar.gz
Use CI_COMMIT_REF_SLUG for the env URL in review-docs jobs
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8703ef6823a..2f61a2864f9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -269,7 +269,7 @@ package-and-qa:
<<: *single-script-job-variables
SCRIPT_NAME: trigger-build-docs
environment:
- name: review-docs/$CI_COMMIT_REF_NAME
+ name: review-docs/$CI_COMMIT_REF_SLUG
# DOCS_REVIEW_APPS_DOMAIN and DOCS_GITLAB_REPO_SUFFIX are secret variables
# Discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14236/diffs#note_40140693
url: http://$DOCS_GITLAB_REPO_SUFFIX-$CI_ENVIRONMENT_SLUG.$DOCS_REVIEW_APPS_DOMAIN/$DOCS_GITLAB_REPO_SUFFIX
@@ -305,7 +305,7 @@ review-docs-cleanup:
<<: *review-docs
stage: post-cleanup
environment:
- name: review-docs/$CI_COMMIT_REF_NAME
+ name: review-docs/$CI_COMMIT_REF_SLUG
action: stop
when: manual
script: