/ ‘.gitlab-ci.yml’
This commit is contained in:
parent
768294035d
commit
a0dd0c04fe
1 changed files with 3 additions and 23 deletions
|
|
@ -1,24 +1,4 @@
|
|||
image: python:3.7-alpine
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
job:
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue