Skip to content

Commit f63a80d

Browse files
committed
docs: correct the Cloudflare Pages deployment description
The Pages project is not connected to this repo. Its settings show no git repository and no build configuration, so Cloudflare never runs a build; the deploy job in ci.yml builds and direct-uploads via wrangler on push to main. Describing it as git-connected implies a Cloudflare-side build that would need its own Node version and would install devDependencies. No such build exists.
1 parent bf304dd commit f63a80d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,10 @@ The identity community will appreciate a tool that clearly understands their wor
218218

219219
## Deployment
220220

221-
- **Cloudflare Pages** — connected to this GitHub repo; merges to `main` auto-deploy
222-
- Build command: `npm run build`
221+
- **Cloudflare Pages** — direct upload, **not** git-connected. The Pages project has no repo connection and no build configuration; Cloudflare never runs a build.
222+
- The `deploy` job in `.github/workflows/ci.yml` builds and uploads on every push to `main`: `npm ci``npm run build``wrangler pages deploy .svelte-kit/cloudflare --project-name=samlguy`. GitHub Actions is therefore the toolchain that produces the production artifact, so its `node-version` is a production-path setting, not just CI hygiene.
223+
- Build command: `npm run build` (run in Actions)
223224
- Output directory: `.svelte-kit/cloudflare`
224225
- Cloudflare Worker API routes deploy automatically alongside the Pages site via the adapter
226+
- Runtime compatibility date is set in the Pages project settings (currently 2026-05-11), not in a `wrangler.toml` — there is no wrangler config file in the repo
225227
- `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` stored as GitHub repository secrets; token is scoped to Cloudflare Pages only

0 commit comments

Comments
 (0)