/ ‘.gitlab-ci.yml’

This commit is contained in:
Dooho Yi 2020-04-11 16:43:41 +09:00
parent 69c9d60127
commit 768294035d

View file

@ -1,5 +1,24 @@
image: python:3.7-alpine
job:
pages:
stage: deploy
script:
- apk update && apk add make
- 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