diff options
Diffstat (limited to 'doc/ci/environments.md')
-rw-r--r-- | doc/ci/environments.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ci/environments.md b/doc/ci/environments.md index cef95c8e22a..6d620722608 100644 --- a/doc/ci/environments.md +++ b/doc/ci/environments.md @@ -292,10 +292,10 @@ For the value of: the web server to serve these requests is based on your setup. We have used `$CI_ENVIRONMENT_SLUG` here because it is guaranteed to be unique. If - you're using a workflow like [GitLab Flow](../workflow/gitlab_flow.md), collisions + you're using a workflow like [GitLab Flow](../topics/gitlab_flow.md), collisions are unlikely and you may prefer environment names to be more closely based on the - branch name. In that case, you could use `$CI_COMMIT_REF_SLUG` in `environment:url` in - the example above: `https://$CI_COMMIT_REF_SLUG.example.com`, which would give a URL + branch name. In that case, you could use `$CI_COMMIT_REF_NAME` in `environment:url` in + the example above: `https://$CI_COMMIT_REF_NAME.example.com`, which would give a URL of `https://100-do-the-thing.example.com`. NOTE: **Note:** |