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/