use woodpecker to deploy blog
This commit is contained in:
parent
fa238a5c54
commit
0c16990e4f
8
.woodpecker/deploy.yml
Normal file
8
.woodpecker/deploy.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
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}
|
||||||
|
|
Loading…
Reference in a new issue