Commit da15cd7b authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'master' into 'master'

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

See merge request !12540
parents a8bc8d4d 33931327
...@@ -34,9 +34,9 @@ instructions to [generate an SSH key](../../ssh/README.md). Do not add a ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment