[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:
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