Update .gitlab-ci.yml

This commit is contained in:
Raoul Snyman 2019-07-15 00:19:12 +00:00
parent 5a9f39c956
commit 5cc2148af2
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ deploy:
script:
- mkdir -p ~/.ssh
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- eval $(ssh-agent -s)
- ssh-add ~/.ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'