Appearance
Cloudflare Pages 部署
why
Cloudflare 被成为互联网活菩萨,因其提供多种免费云服务,Pages 便是其中一种。
Pages 用于部署前端站点,如:博客、工具网站、导航网站等等。
本文主要记录 Pages 的部署流程。
how
○ 方式一:本地构建 -> 提交 GitHub -> 部署 Cloudflare
- 登录 Cloudflare dashboard
- 进入 Compute(Workers) -> Workers & Pages
- 创建 Pages -> Import an existing Git repository
- 修改上一步创建的 Pages 的 Setting:Build -> Build configuration -> Framework preset: none -> Build command: (空) -> Build output directory: /(要填进输入框)