From f7874480212d31675a95b95536e97bb45f048780 Mon Sep 17 00:00:00 2001 From: Nikurasu Date: Sat, 4 Mar 2023 20:03:38 +0100 Subject: [PATCH] Fixed woodpecker file secrets --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ]