Simplify pipeline steps
Some checks failed
ci/woodpecker/push/main Pipeline failed

This commit is contained in:
Luca Beltrame 2022-04-25 11:05:02 +02:00
parent 6d9cd7d4a3
commit 5ae84b52e1
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -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: