/ ‘.gitlab-ci.yml’
This commit is contained in:
parent
4652b181aa
commit
95c010a116
1 changed files with 2 additions and 18 deletions
|
|
@ -1,24 +1,8 @@
|
||||||
image: python:3.7-alpine
|
image: python:3.7-alpine
|
||||||
|
|
||||||
pages:
|
build:
|
||||||
stage: deploy
|
stage: build
|
||||||
script:
|
script:
|
||||||
- apk update && apk add make
|
- apk update && apk add make
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- make publish
|
- 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