diff --git a/.woodpecker.yml b/.woodpecker.yml index 8a1ddea..b3ec80d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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 ]