Merge branch 'master' into 'master'

Update README.md to reflect where "Secret variables" are located

See merge request !12540
This commit is contained in:
Rémy Coutable 2017-06-29 13:50:55 +00:00
commit da15cd7b6f
1 changed files with 3 additions and 3 deletions

View File

@ -34,9 +34,9 @@ instructions to [generate an SSH key](../../ssh/README.md). Do not add a
passphrase to the SSH key, or the `before_script` will prompt for it. passphrase to the SSH key, or the `before_script` will prompt for it.
Then, create a new **Secret Variable** in your project settings on GitLab Then, create a new **Secret Variable** in your project settings on GitLab
following **Settings > Variables**. As **Key** add the name `SSH_PRIVATE_KEY` following **Settings > Pipelines** and look for the "Secret Variables" section.
and in the **Value** field paste the content of your _private_ key that you As **Key** add the name `SSH_PRIVATE_KEY` and in the **Value** field paste the
created earlier. content of your _private_ key that you created earlier.
It is also good practice to check the server's own public key to make sure you It is also good practice to check the server's own public key to make sure you
are not being targeted by a man-in-the-middle attack. To do this, add another are not being targeted by a man-in-the-middle attack. To do this, add another