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