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

13 lines
415 B
YAML
Raw Permalink 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-04-22 20:48:25 +01:00
- "curl --request POST --url $URL --user \"$USER:$APIKEY\" --header \"Content-Type: multipart/form-data\" --form \"STATIC_PAGE=@$(pwd)/archive.tar.gz\""
2023-04-22 20:13:27 +01:00
secrets: [ apikey, url, user ]