+ ‘.gitlab-ci.yml’

This commit is contained in:
Dooho Yi 2020-02-17 22:00:38 +09:00
parent bd72cbf378
commit e4b3115575

24
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,24 @@
image: python:3.7-alpine
pages:
stage: deploy
script:
- apk update && apk add make
- pip install -r requirements.txt
- make publish
artifacts:
paths:
- public/
only:
- master
test:
stage: test
script:
- apk update && apk add make
- pip install -r requirements.txt
- make publish
only:
- branches
except:
- master