diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c8b76660a2e414aa4ae3b7124704ed778ee75ad8..5fd6cbf246730f855da5ba9d3af32dcda8d7d27e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,6 +46,9 @@ before_script: - mkdir -p ~/.ssh - chmod 700 ~/.ssh + - echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts + - chmod 644 ~/.ssh/known_hosts + ## ## Optionally, if you will be using any Git commands, set the user name and ## and email.