Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Commit edee3a4

Browse files
fix CI: pass Cloudflare token as env var instead of wrangler-action
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 9073602 commit edee3a4

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626

2727
- run: pnpm build
2828

29-
- uses: cloudflare/wrangler-action@v3
30-
with:
31-
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
32-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
33-
command: pages deploy dist --project-name openseed-site --branch main
29+
- run: npx wrangler pages deploy dist --project-name openseed-site --branch main
30+
env:
31+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
32+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 commit comments

Comments
 (0)