1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-22 13:02:50 +00:00

Update .gitlab-ci.yml

This commit is contained in:
Raoul Snyman 2019-07-15 00:17:54 +00:00
parent 65b6db4735
commit 5a9f39c956

View File

@ -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/