docs(config): add deploy command, update README and CLAUDE.md
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 27s

Adds bun run deploy script, deployment docs to README, and updates
CLAUDE.md with deployment info, current patterns, and rule to keep
docs in sync with changes.
This commit is contained in:
Sanil Chawla
2026-02-12 00:00:10 -08:00
parent b750970770
commit 1275e58d55
3 changed files with 36 additions and 11 deletions

View File

@@ -15,6 +15,16 @@ bun run build # Static build to dist/
bun run preview # Preview production build
```
## Deployment
Deploys to Cloudflare Pages via Gitea Actions on push to `main`. To deploy manually:
```sh
bun run deploy # Build + deploy to Cloudflare Pages
```
Requires `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` (set as Gitea secrets for CI, or via `wrangler login` locally).
## Linting & Formatting
```sh