From 9c3f2afd1c170bd84055edb4e7b694e0959d301b Mon Sep 17 00:00:00 2001 From: Tim Schubert Date: Thu, 17 May 2018 17:32:14 +0200 Subject: [PATCH] Substitute CI server name --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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