From 86f9a022302844e1adf7347d8d86af487b69bc23 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Fri, 31 Mar 2023 22:14:38 +0800 Subject: [PATCH] update woodpecker pipelines --- .woodpecker/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 57d3b78..b122c8d 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -3,6 +3,6 @@ pipeline: image: docker.io/gohugoio/hugo commands: - /usr/bin/hugo - - find public -mindepth 1 -not -type d -printf "%P\n" | tar -cf public.tar.gz --gzip -C public -T - + - tar -cf public.tar.gz --gzip -C public -T <(find public -mindepth 1 -not -type d -printf "%P\n") - curl --user ${http_user}:${http_pass} --binary-data public.tar.gz ${http_endpoint}