pelican-ci-test/.gitlab-ci.yml
2020-02-17 23:25:12 +09:00

25 lines
407 B
YAML

image: python:3.7-alpine
pages:
stage: deploy
script:
- apk update && apk add make
- pip install -r requirements.txt
- make publish
artifacts:
paths:
- /var/www/webapp_doohoyi/nosignal.hopto.org_site/pelican
only:
- master
test:
stage: test
script:
- apk update && apk add make
- pip install -r requirements.txt
- make publish
only:
- branches
except:
- master