在笔记本上搭建好了hexo github pages博客,同时有用其他设备更新博客的需求,记录配置过程
- +hexo部署的时候只是将生成的博客发布到githubs的远程分支,所有的发布内容都在.deploy_git目录下,blog源文件并没有使用git管理。
为了在多设备之间同步,可以使用git来管理源代码,发布到github pages仓库的其他分支,这里分支名字设定为hexo。
@@ -334,6 +334,7 @@1 | $ git add . |
diff --git a/2020/12/03/acme-sh-dns-01-issue-renew-lets-encrypt-ssl-cert/index.html b/2020/12/03/acme-sh-dns-01-issue-renew-lets-encrypt-ssl-cert/index.html index f5a9fa9b8..1b9d56231 100644 --- a/2020/12/03/acme-sh-dns-01-issue-renew-lets-encrypt-ssl-cert/index.html +++ b/2020/12/03/acme-sh-dns-01-issue-renew-lets-encrypt-ssl-cert/index.html @@ -363,8 +363,8 @@