fix(ci): switch from wrangler.json to wrangler.toml for Pages compat
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 26s

Pages deploy only reads pages_build_output_dir from wrangler.toml,
not wrangler.json.
This commit is contained in:
Sanil Chawla
2026-02-11 23:55:51 -08:00
parent 114e264519
commit 16bd0790de
3 changed files with 3 additions and 10 deletions

View File

@@ -25,13 +25,9 @@ jobs:
- name: Build
run: bun run build
- name: Debug working directory
run: ls -la && cat wrangler.json
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: "."
command: pages deploy