banner
NEWS LETTER

将Vitepress/Hexo 部署到 Cloudflare Pages 实现白嫖

Scroll down

将Vitepress/Hexo 部署到 Cloudflare Pages

准备

  • 一个 Cloudflare 账户
  • 一个 Github 账户
  • 一个域名(可以去nic.us.kg 白嫖)
  • 一个脑子
  • 一双手

初始化 Github 仓库

可以选择私有,也可以是公开

  1. 打开Github.com,登录

  2. 选择Create New(可以点击URL)

  3. 名字自己随便写,Init README 可以选

  4. 接下来打开仓库,记住仓库 url

  5. 打开Powershell/Bash 命令行(注意:要先安装 Git

  6. 输入 git clone <仓库 URL>

    开加速器容易出现SSL 问题,可以通过 git config http.sslVerify false关闭SSL 验证,也可以把URL 改成 https://fastgithub.starryfun.icu/<原 url 链接>

  7. 接下来安装

其他文章