update woodpecker pipelines

This commit is contained in:
leafee98 2023-03-31 22:14:38 +08:00
parent 0c16990e4f
commit 86f9a02230

View file

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