From 64e8875565423d3abd5214933336bf3ac9abcdf2 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sun, 24 Apr 2022 12:58:31 +0200 Subject: [PATCH] One more step --- .woodpecker/main.yml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.woodpecker/main.yml b/.woodpecker/main.yml index 12ed1ec..91198c1 100644 --- a/.woodpecker/main.yml +++ b/.woodpecker/main.yml @@ -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