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

Remove deployment to old website from .gitlab-ci.yml

This commit is contained in:
Raoul Snyman 2020-02-20 16:15:58 +00:00
parent 120457f2c9
commit c093627c76

View File

@ -4,22 +4,22 @@ before_script:
- apk --no-cache add make openssh-client py3-setuptools python3-dev py3-pillow py3-lxml - apk --no-cache add make openssh-client py3-setuptools python3-dev py3-pillow py3-lxml
- python3 -m pip install nikola - python3 -m pip install nikola
deploy: # deploy:
stage: deploy # stage: deploy
script: # script:
- mkdir -p ~/.ssh # - mkdir -p ~/.ssh
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa # - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa # - chmod 600 ~/.ssh/id_rsa
- eval $(ssh-agent -s) # - eval $(ssh-agent -s)
- ssh-add ~/.ssh/id_rsa # - ssh-add ~/.ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' # - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- nikola theme -i bootstrap3 # - nikola theme -i bootstrap3
- nikola build # - nikola build
- echo "$STRIPE_API_KEY" > stripe.ini # - echo "$STRIPE_API_KEY" > stripe.ini
- cd output # - cd output
- scp -r * openlp@openlp.org:public_html/ # - scp -r * openlp@openlp.org:public_html/
only: # only:
- master@openlp/website # - master@openlp/website
pages: pages:
script: script: