Update .gitlab-ci.yml

This commit is contained in:
Administrator 2021-02-11 20:23:48 +00:00
parent 30666a0e2b
commit f0302bc3cd
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ package-backend:
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa
- chmod 700 ~/.ssh/id_rsa
- eval $(ssh-agent -s)
- ssh_add ~/.ssh/id_rsa
- ssh-add ~/.ssh/id_rsa
- ssh-keyscan -p $DEPLOYMENT_SERVER_SSH_PORT -H $DEPLOYMENT_SERVER >> ~/.ssh/known_hosts
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'