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:
parent
dea7f06dab
commit
65b6db4735
@ -29,14 +29,15 @@ test:
|
|||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
|
- 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 theme -i bootstrap3
|
||||||
- nikola build
|
- nikola build
|
||||||
- cd output
|
|
||||||
- echo "$STRIPE_API_KEY" > stripe.ini
|
|
||||||
- eval $(ssh-agent -s)
|
|
||||||
- ssh-add <(echo "$SSH_PRIVATE_KEY")
|
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
- echo "$STRIPE_API_KEY" > stripe.ini
|
||||||
|
- cd output
|
||||||
- scp -r * openlp@openlp.org:public_html/
|
- scp -r * openlp@openlp.org:public_html/
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user