Hexo
GitHub Actions 自动部署 Hexo 脚本
·711 字·2 分钟
代码
Github-Actions-Hexo-Ci
Hexo
GitHub
Actions
Deploy
通过 GitHub Actions 自动部署 Hexo 博客需正确配置密钥对和 Workflow 脚本,包括在仓库设置中添加公钥和私钥,修改脚本中的用户信息和插件配置,并建议使用 git subtree 管理主题目录。部署时只需推送代码到仓库,无需本地构建即可自动完成。
Gridea Hexo Hugo 等 git push 同步到多个仓库
·336 字·1 分钟
代码
Deploy-to-Github-and-Coding
Hexo
以 GitHub Pages 和 Coding Pages 为例,需分别创建仓库并申请 token,配置 git remote 添加双推送地址,DNS 解析需区分国内外线路,同步后注意 Let’s Encrypt 证书续期需暂停解析,因两者更新周期不同!