docs(config): add deploy command, update README and CLAUDE.md
All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 27s
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:
10
README.md
10
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user