avatar
文章
2
标签
4
分类
1
首页
时间轴
分类
标签
留言板
关于
Indolyn's Blog
首页
时间轴
分类
标签
留言板
关于

Indolyn's Blog

博客折腾记:Hexo + Cloudflare + Waline 踩坑实录
发表于2025-12-17|更新于2025-12-17|技术笔记|Hexo•Cloudflare•Waline•踩坑| 条评论
终于把博客折腾好了! 这篇文章记录一下我从 GitHub Pages 迁移到 Cloudflare Pages,并配置 Waline 评论系统的全过程。本以为只是简单的配置,结果踩了一下午的坑,特此记录,希望能帮到后来人(也防止自己以后忘了)。 1. 为什么迁移?我原来的博客是托管在 GitHub Pages 上的,但有两个痛点: 隐私问题:GitHub Pages 强制要求仓库公开(Public),但我希望把博客源码放在私有仓库里。 速度问题:Cloudflare Pages 的节点速度在全球范围内通常比 GitHub Pages 更快且稳。 于是决定:源码放 GitHub 私有仓库 -> Cloudflare Pages 自动拉取构建 -> 绑定自定义域名。 2. 踩坑实录坑位一:Cloudflare 构建失败 hexo: not found刚把仓库连上 Cloudflare,第一次构建就红了。报错:/bin/sh: 1: hexo: not found 原因:Cloudflare 的构建环境是纯净的,没有全局安装 Hexo CLI。解决:修改 Cloudfl...
Hello World
发表于2025-12-15|更新于2025-12-15| 条评论
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
avatar
Indolyn Yi
true
文章
2
标签
4
分类
1
最新文章
博客折腾记:Hexo + Cloudflare + Waline 踩坑实录2025-12-17
Hello World2025-12-15
分类
  • 技术笔记1
标签
HexoCloudflareWaline踩坑
归档
  • 十二月 2025 2
© 2024 - 2025 By Indolyn Yi