Commit a06d6d3
committed
fix(cloudflare): migrate wrangler.toml to Workers + Assets, fix Git Integration build
The Cloudflare Git Integration ('Workers Builds: boj-server') was failing
because:
1. `pages_build_output_dir` is not recognised by the post-Pages-merger
Workers build system — it treats the project as a Workers script
deployment and expects a JS entry point.
2. With no explicit `[build] command=""`, the Git Integration attempts to
install every runtime listed in `.tool-versions` (Zig, Elixir, Idris2,
Deno) before running a build that doesn't exist, and fails.
Fixes:
- Replace `pages_build_output_dir = "site"` with `[assets] directory =
"site"` — the current Workers static-asset syntax.
- Add `[build] command = ""` — tells the Git Integration there is no build
step, suppressing .tool-versions installation.
- Update pages-deploy.yml fallback from deprecated `wrangler pages deploy`
to `wrangler deploy`, consistent with the new Workers format.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F8pqMfJViUaKabWKNQ9wUg1 parent 3077b4f commit a06d6d3
2 files changed
Lines changed: 21 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
4 | 10 | | |
5 | 11 | | |
6 | 12 | | |
7 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments