[cicd] fix secrets
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
SouthFox 2023-06-07 20:31:05 +08:00
parent 0219625266
commit 6538322a33

View file

@ -17,11 +17,7 @@ pipeline:
deploy: deploy:
image: node image: node
settings: secrets: [cloudflare_api_token ,cloudflare_account_id]
CLOUDFLARE_API_TOKEN:
from_secret: api_token
CLOUDFLARE_ACCOUNT_ID:
from_secret: account_id
commands: commands:
- npm install -g wrangler - npm install -g wrangler
- npx wrangler pages deploy public --project-name garden --commit-dirty=true - npx wrangler pages deploy public --project-name garden --commit-dirty=true