From 5ae84b52e13570674d4b20cf563a60be95c75b78 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Mon, 25 Apr 2022 11:05:02 +0200 Subject: [PATCH] Simplify pipeline steps --- .woodpecker/main.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.woodpecker/main.yml b/.woodpecker/main.yml index 9c90849..14ecca8 100644 --- a/.woodpecker/main.yml +++ b/.woodpecker/main.yml @@ -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: