One more step
All checks were successful
ci/woodpecker/push/main Pipeline was successful

This commit is contained in:
Luca Beltrame 2022-04-24 12:58:31 +02:00
parent 7560ab1423
commit 64e8875565
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -3,25 +3,21 @@ workspace:
path: data
pipeline:
#get_submodules:
#image: alpine/git
#commands:
#- git submodule update --init --recursive --remote themes/ananke/
build:
image: einar/hugo
commands:
- git lfs pull
- hugo --destination /checkout/public
#cleanup:
#image: alpine
#environment:
#- NGINX_UID=476
#- NGINX_GID=476
#commands:
#- chown -R $NGINX_UID:$NGINX_ID /site/
#- rm -f /site/.gitadd /site/.gitignore
#volumes:
#- /srv/www/htdocs/dennogumi.org:/site
cleanup:
image: alpine
environment:
- NGINX_UID=476
- NGINX_GID=476
commands:
- 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/drone-rsync
#pull: never