Update .gitlab-ci.yml

This commit is contained in:
Dooho Yi 2020-02-17 23:01:47 +09:00
parent 01d74dad66
commit 5c4756f18d

View file

@ -6,22 +6,13 @@ pages:
- apk update && apk add make - apk update && apk add make
- pip install -r requirements.txt - pip install -r requirements.txt
- make publish - make publish
- sudo cp -R ./public/* /var/www/webapp_doohoyi/nosignal.hopto.org_site/pelican
artifacts: artifacts:
paths: paths:
- public/ - public/
only: only:
- master - master
deploy:
stage: deploy
environment: production
script:
- sudo cp -R ./public/* /var/www/webapp_doohoyi/nosignal.hopto.org_site/pelican
tags:
- deploy
only:
- master
test: test:
stage: test stage: test
script: script: