9 lines
287 B
YAML
9 lines
287 B
YAML
pipeline:
|
|
build:
|
|
image: docker.io/gohugoio/hugo
|
|
commands:
|
|
- /usr/bin/hugo
|
|
- 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}
|
|
|