diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f3e6592..2ecfe1a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,7 +15,7 @@ before_script: - mkdir -p ~/.ssh - chmod 700 ~/.ssh - ssh-add -l - - ssh-keyscan localhost | tee ~/.ssh/known_hosts + - ssh-keyscan $CI_SERVER_NAME | tee ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts ## get API token from secret variable - cp python-gitlab.cfg $HOME/.python-gitlab.cfg