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
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user