Commit 1fb52bff authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Update .gitlab-ci.yml: Use base64 encoded ssh key

parent 6dd126af
Pipeline #50 passed with stages
in 12 minutes and 24 seconds
......@@ -15,7 +15,7 @@ before_script:
# Setup SSH deploy keys
- 'which ssh-agent || ( apt-get install -qq openssh-client )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- ssh-add <(echo "$SSH_PRIVATE_KEY" | base64 -d)
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
......
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