diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-15 21:09:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-15 21:09:09 +0300 |
commit | fb994e98ecce2a1f1dfaa87c9c3de8535815813b (patch) | |
tree | 0a0915d6a0dcd22aab31d2f89c72c85597aa5b86 /doc/ci/examples | |
parent | 51858218a3961c6d872703eabde0635bc0a1368f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/examples')
-rw-r--r-- | doc/ci/examples/semantic-release.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ci/examples/semantic-release.md b/doc/ci/examples/semantic-release.md index 83ab72b3478..c0fc93fe1b3 100644 --- a/doc/ci/examples/semantic-release.md +++ b/doc/ci/examples/semantic-release.md @@ -84,9 +84,9 @@ This example configures the pipeline with a single job, `publish`, which runs `s The default `before_script` generates a temporary `.npmrc` that is used to authenticate to the Package Registry during the `publish` job. -## Set up environment variables +## Set up CI/CD variables -As part of publishing a package, semantic-release increases the version number in `package.json`. For semantic-release to commit this change and push it back to GitLab, the pipeline requires a custom environment variable named `GITLAB_TOKEN`. To create this variable: +As part of publishing a package, semantic-release increases the version number in `package.json`. For semantic-release to commit this change and push it back to GitLab, the pipeline requires a custom CI/CD variable named `GITLAB_TOKEN`. To create this variable: 1. Navigate to **Project > Settings > Access Tokens**. 1. Give the token a name, and select the `api` scope. |