From efffcde96e9494a763fa2fc8ce03fce4f356bb1b Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 12 Feb 2019 16:40:29 +0100 Subject: [PATCH] 5. fix use ssh in ci script --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f055287..072b363 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ stages: before_script: - echo "Prepare ssh environment" - eval $(ssh-agent -s) - - echo "$SSH_PRIVATE_KEY" # | tr -d '\r' | ssh-add - + - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - - mkdir -p ~/.ssh - chmod 700 ~/.ssh - ssh-keyscan gitlab.com >> ~/.ssh/known_hosts