From 6538322a33bbcc61bfdfa2fdf191aae9f36d677c Mon Sep 17 00:00:00 2001 From: SouthFox Date: Wed, 7 Jun 2023 20:31:05 +0800 Subject: [PATCH] [cicd] fix secrets --- .woodpecker.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5b1db04..fd6a457 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -17,11 +17,7 @@ pipeline: deploy: image: node - settings: - CLOUDFLARE_API_TOKEN: - from_secret: api_token - CLOUDFLARE_ACCOUNT_ID: - from_secret: account_id + secrets: [cloudflare_api_token ,cloudflare_account_id] commands: - npm install -g wrangler - npx wrangler pages deploy public --project-name garden --commit-dirty=true