From 593f195f106ef2ad9bb644f46fba046e9859a4b5 Mon Sep 17 00:00:00 2001 From: Tim Schubert Date: Thu, 17 May 2018 17:08:15 +0200 Subject: [PATCH] cat known_hosts --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7572d65..5c12e57 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,7 +15,8 @@ before_script: - mkdir -p ~/.ssh - chmod 700 ~/.ssh - ssh-add -l - - ssh-keyscan localhost | tee ~/.ssh/known_hosts + - ssh-keyscan localhost >> ~/.ssh/known_hosts + - cat ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts ## get API token from secret variable - cp python-gitlab.cfg $HOME/.python-gitlab.cfg