summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2017-11-17 13:55:38 +0100
committerAchilleas Pipinellis <axil@gitlab.com>2017-11-17 14:07:06 +0100
commit4756720923241a9e06fcb1c47110fdcad23bb8d9 (patch)
treeb5d20d4975f832320722709d4ff30ace0e1c7e1e /.gitlab-ci.yml
parent69dd59aec9e5f8959fa36eb74db28d71aad4212b (diff)
downloadgitlab-ce-4756720923241a9e06fcb1c47110fdcad23bb8d9.tar.gz
Use slug as the prefix for the docs CI job preview URLdocs/use-slug-as-prefix-in-ci-docs-job
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ba19d69745c..ff51c4d89ae 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -193,7 +193,7 @@ review-docs-deploy:
name: review-docs/$CI_COMMIT_REF_NAME
# 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://preview-$CI_COMMIT_REF_SLUG.$DOCS_REVIEW_APPS_DOMAIN/$DOCS_GITLAB_REPO_SUFFIX
+ url: http://$DOCS_GITLAB_REPO_SUFFIX-$CI_COMMIT_REF_SLUG.$DOCS_REVIEW_APPS_DOMAIN/$DOCS_GITLAB_REPO_SUFFIX
on_stop: review-docs-cleanup
script:
- ./trigger-build-docs deploy