This commit is contained in:
parent
6d9cd7d4a3
commit
5ae84b52e1
1 changed files with 2 additions and 7 deletions
|
@ -5,19 +5,14 @@ workspace:
|
|||
pipeline:
|
||||
build:
|
||||
image: einar/hugo
|
||||
commands:
|
||||
- git lfs pull
|
||||
- hugo --destination /checkout/public
|
||||
cleanup:
|
||||
image: alpine
|
||||
environment:
|
||||
- NGINX_UID=476
|
||||
- NGINX_GID=476
|
||||
commands:
|
||||
- git lfs pull
|
||||
- hugo --destination /checkout/public
|
||||
- chown -R $NGINX_UID:$NGINX_ID /checkout/public/
|
||||
- rm -f /checkout/public/.gitadd /checkout/public/.gitignore
|
||||
volumes:
|
||||
- /srv/www/htdocs/dennogumi.org:/site
|
||||
deploy:
|
||||
image: einar/hugo
|
||||
commands:
|
||||
|
|
Loading…
Add table
Reference in a new issue