mirror of
https://gitlab.com/openlp/website.git
synced 2024-12-22 13:02:50 +00:00
Merge branch 'fix-gitlab-ci' into 'master'
Fix gitlab ci See merge request openlp/website!10
This commit is contained in:
commit
6f37d2d6b3
@ -1,33 +1,25 @@
|
|||||||
image: alpine
|
image: alpine
|
||||||
|
|
||||||
before_script:
|
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 py3-pip python3-dev py3-pillow py3-lxml
|
||||||
- python3 -m pip install nikola
|
- pip3 install nikola
|
||||||
|
- nikola theme -i bootstrap3
|
||||||
|
|
||||||
# deploy:
|
build:
|
||||||
# stage: deploy
|
stage: build
|
||||||
# script:
|
script:
|
||||||
# - mkdir -p ~/.ssh
|
- nikola build
|
||||||
# - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
- mv output public
|
||||||
# - chmod 600 ~/.ssh/id_rsa
|
artifacts:
|
||||||
# - eval $(ssh-agent -s)
|
paths:
|
||||||
# - ssh-add ~/.ssh/id_rsa
|
- public
|
||||||
# - '[[ -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
|
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
script:
|
script:
|
||||||
- nikola theme -i bootstrap3
|
- nikola build
|
||||||
- nikola build
|
- mv output public
|
||||||
- mv output public
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
only:
|
only:
|
||||||
- master@openlp/website
|
- master@openlp/website
|
||||||
|
Loading…
Reference in New Issue
Block a user