diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fcb364e..dff7ff0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ before_script: - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - - mkdir -p ~/.ssh - chmod 700 ~/.ssh - - echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts + - echo "$SSH_KNOWN_HOSTS" >> /root/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts ping: