This repository has been archived on 2024-03-29. You can view files and clone it, but cannot push or open issues or pull requests.
services-panel/.woodpecker.yml

14 lines
417 B
YAML
Raw Normal View History

workspace:
base: /hugo
path: services-panel
pipeline:
build:
2023-03-04 21:22:32 +00:00
image: klakegg/hugo:ext-debian-ci
commands:
2023-03-04 21:22:32 +00:00
- apt update && apt install curl -y
- hugo
- tar -czf archive.tar.gz -C ./public/ .
2023-03-04 21:33:49 +00:00
- "curl --request POST --url $URL --header 'Content-Type: multipart/form-data' --header 'Static-Hoster-Key: $APIKEY' --form STATIC_PAGE=@$(pwd)/archive.tar.gz"
secrets: [ apikey, url ]