From dea7f06dabb1d3cb09ac946fe33ff29d668717b4 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Mon, 15 Jul 2019 00:13:26 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index abce839..2851dc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,7 +33,8 @@ deploy: - nikola build - cd output - echo "$STRIPE_API_KEY" > stripe.ini - - ssh-add < echo "$SSH_PRIVATE_KEY" + - eval $(ssh-agent -s) + - ssh-add <(echo "$SSH_PRIVATE_KEY") - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - scp -r * openlp@openlp.org:public_html/