diff options
author | Russell Dickenson <rdickenson@gitlab.com> | 2019-04-29 10:58:07 +1000 |
---|---|---|
committer | Russell Dickenson <rdickenson@gitlab.com> | 2019-04-29 10:58:07 +1000 |
commit | 451b4ad92bd3e01a2b08d7e57e16fa06ebfd33a0 (patch) | |
tree | b95ec01a5bbf52dc86f2a5e5be923412fe3f4667 | |
parent | ee4ccd31556f8be905e968af448bbb4ecf62dcb6 (diff) | |
download | gitlab-ce-docs/11349.tar.gz |
Applied suggested changes and correctionsdocs/11349
-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 6b4d4f1b9d4..47faddcf03d 100644 --- a/doc/ci/environments.md +++ b/doc/ci/environments.md @@ -268,7 +268,7 @@ For the value of: which receives the value of the branch name. - `environment:url`, we want a specific and distinct URL for each branch. `$CI_COMMIT_REF_NAME` may contain a `/` or other characters that would be invalid in a domain name or URL, - so we use `$CI_ENVIRONMENT_SLUG` to get a "clean" or "safe" URL. + so we use `$CI_ENVIRONMENT_SLUG` to get a valid URL. For example, given a `$CI_COMMIT_REF_NAME` of `100-Do-The-Thing`, the URL will be something like `https://100-do-the-4f99a2.example.com`. Again, the way you set up @@ -351,7 +351,7 @@ deploy_prod: ``` A more realistic example would also include copying files to a location where a -webserver (for example, NGINX) could then acess and serve them. +webserver (for example, NGINX) could then access and serve them. The example below will copy the `public` directory to `/srv/nginx/$CI_COMMIT_REF_SLUG/public`: @@ -711,4 +711,4 @@ Below are some links you may find interesting: - [The `.gitlab-ci.yml` definition of environments](yaml/README.md#environment) - [A blog post on Deployments & Environments](https://about.gitlab.com/2016/08/26/ci-deployment-and-environments/) - [Review Apps - Use dynamic environments to deploy your code for every branch](review_apps/index.md) -- [Deploy Boards for your applications running on Kubernetes](https://docs.gitlab.com/ee/user/project/deploy_boards.html) **[PREMIUM]** +- [Deploy Boards for your applications running on Kubernetes](https://docs.gitlab.com/ee/user/project/deploy_boards.md) **[PREMIUM]** |