leafee98-blog/.woodpecker/deploy.yml
2023-03-31 21:27:44 +08:00

9 lines
288 B
YAML

pipeline:
build:
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 -
- curl --user ${http_user}:${http_pass} --binary-data public.tar.gz ${http_endpoint}