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.
43 lines
965 B
Markdown
43 lines
965 B
Markdown
# Lofty Landing Page
|
|
|
|
Pre-launch landing page for **The Lofty Project**, a 501(c)(4) connecting creative talent with leftist organizing.
|
|
|
|
## Stack
|
|
|
|
Astro 5 (static output), TypeScript, Bun
|
|
|
|
## Development
|
|
|
|
```sh
|
|
bun install # Install dependencies
|
|
bun run dev # Dev server at localhost:4321
|
|
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
|
|
bun run lint # Check for issues
|
|
bun run lint:fix # Auto-fix issues
|
|
bun run format # Format all files
|
|
```
|
|
|
|
## Commits
|
|
|
|
Uses conventional commits enforced by commitlint + lefthook.
|
|
|
|
```sh
|
|
bun run commit # Guided commit via commitizen
|
|
```
|