2019-07-15 00:08:07 +00:00
|
|
|
image: alpine
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- apk --no-cache add make openssh-client py3-setuptools python3-dev py3-pillow py3-lxml
|
|
|
|
- python3 -m pip install nikola
|
|
|
|
|
2020-02-20 16:15:58 +00:00
|
|
|
# deploy:
|
|
|
|
# stage: deploy
|
|
|
|
# script:
|
|
|
|
# - mkdir -p ~/.ssh
|
|
|
|
# - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
|
|
|
# - chmod 600 ~/.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
|
|
|
|
# - echo "$STRIPE_API_KEY" > stripe.ini
|
|
|
|
# - cd output
|
|
|
|
# - scp -r * openlp@openlp.org:public_html/
|
|
|
|
# only:
|
|
|
|
# - master@openlp/website
|
2020-02-20 15:30:13 +00:00
|
|
|
|
|
|
|
pages:
|
|
|
|
script:
|
|
|
|
- nikola theme -i bootstrap3
|
|
|
|
- nikola build
|
2020-02-20 15:32:21 +00:00
|
|
|
- mv output public
|
2020-02-20 15:30:13 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
only:
|
|
|
|
- master@openlp/website
|