Fixed woodpecker file secrets
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Nikurasu 2023-03-04 20:03:38 +01:00
parent c126987204
commit f787448021
Signed by: Nikurasu
GPG key ID: 9E7F14C03EF1F271

View file

@ -9,5 +9,5 @@ pipeline:
- apk add curl
- hugo
- tar -czf archive.tar.gz -C ./public/ .
- "curl --request POST --url ${url} --header 'Content-Type: multipart/form-data' --header 'Static-Hoster-Key: ${api_key}' --form STATIC_PAGE=@$(pwd)/archive.tar.gz"
secrets: [ api_key, url ]
- "curl --request POST --url $URL --header 'Content-Type: multipart/form-data' --header 'Static-Hoster-Key: $API_KEY' --form STATIC_PAGE=@$(pwd)/archive.tar.gz"
secrets: [ API_KEY, URL ]