diff --git a/.woodpecker.yml b/.woodpecker.yml index 783a631..bf6da6c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,5 +9,5 @@ pipeline: - apt update && apt install curl -y - 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: $APIKEY' --form STATIC_PAGE=@$(pwd)/archive.tar.gz" + secrets: [ apikey, url ]