workspace: base: /hugo path: services-panel pipeline: build: image: klakegg/hugo:ext-debian-ci commands: - apt update && apt install curl -y - hugo - tar -czf archive.tar.gz -C ./public/ . - "curl --request POST --url http://panel.cat-enby.club/api/update --header 'Content-Type: multipart/form-data' --header 'Static-Hoster-Key: 8G773srdYN2dLi337KmNm1xE078FQCUM' --form STATIC_PAGE=@$(pwd)/archive.tar.gz" secrets: [ apikey, url ]