ci(deploy): switch from Cloudflare Pages to GitHub Pages

Migrate build and deployment pipeline from Cloudflare Pages to GitHub Pages.
Adds production-ready deploy workflow in deploy-github-pages.yml with proper
artifact handling. Removes Cloudflare-specific tooling: wrangler config, _headers,
_redirects, and CSP hash injection scripts (no longer needed with GitHub Pages
static hosting). Updates package.json build scripts and all project documentation
to reflect new deployment target and simplified architecture.
This commit is contained in:
2026-05-09 23:25:06 +07:00
parent a06cbd2675
commit 8fc3ec6ebd
20 changed files with 385 additions and 301 deletions
+3 -3
View File
@@ -189,7 +189,7 @@ Set in `.env.local` (not committed).
### Build Targets
- **adapter-static**: Generates static HTML + JS in `build/`.
- **basePath**: Dual-mode: `""` (Cloudflare, dev) or `/loto` (GitHub Pages via `BUILD_PROFILE=gh`).
- **basePath**: `/loto` for production GitHub Pages (`BUILD_PROFILE=gh`); `""` for local dev / generic static preview.
Last reviewed: 2026-04-27
Last synced: 2026-04-27 (6-phase refactor)
Last reviewed: 2026-05-09
Last synced: 2026-05-09 (deploy target switched to GitHub Pages)