From 5ec3d2eea2207f6775d3755ebe5040f5485fbdcf Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Tue, 11 Apr 2017 20:21:20 +0200 Subject: [PATCH] WIP|BUGFIX: Allow ssh auth for github sync * Use variable as in all other scripts. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d8d1cb..9141aac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,7 @@ sync:github: - apk add --no-cache openssh-client git # SSH deploy key - eval $(ssh-agent -s) - - ssh-add <(echo "$SSH_PRIVATE_KEY") + - ssh-add <(echo "${SSH_PRIVATE_KEY}") - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' script: