2026-07-07 / draft
把静态站点部署到 Cloudflare Pages
记录从 GitHub 仓库到 Cloudflare Pages、自定义域名和 HTTPS 的基本流程。
这个站点会先部署到 Cloudflare Pages。
基本设置:
Build command: npm run build
Output directory: dist
Environment variable: SITE_URL=https://alfro6ull.space
域名已经接入 Cloudflare,后续只需要在 Pages 项目里绑定 alfro6ull.space 和 www.alfro6ull.space。