diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b0dfdb1..86b2c56 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,13 +29,13 @@ test: deploy: stage: deploy script: + - mkdir -p ~/.ssh - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa - eval $(ssh-agent -s) - ssh-add ~/.ssh/id_rsa - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - nikola theme -i bootstrap3 - nikola build - - mkdir -p ~/.ssh - echo "$STRIPE_API_KEY" > stripe.ini - cd output - scp -r * openlp@openlp.org:public_html/