leafee98-blog/.woodpecker/deploy.yml

9 lines
287 B
YAML
Raw Normal View History

2023-03-31 13:27:44 +00:00
pipeline:
build:
image: docker.io/gohugoio/hugo
commands:
- /usr/bin/hugo
2023-03-31 14:14:38 +00:00
- tar -cf public.tar.gz --gzip -C public -T <(find public -mindepth 1 -not -type d -printf "%P\n")
2023-03-31 13:27:44 +00:00
- curl --user ${http_user}:${http_pass} --binary-data public.tar.gz ${http_endpoint}