博客原文:hexo双线部署,实现https,并开启又拍云CDN全站加速
https://blog.kaygb.com/17.html
hexo双线部署,实现https,并开启又拍云CDN全站加速
博客更换成hexo之后,用双线部署的形式部署到了coding+github pages,访问域名在国内解析到coding,国外解析到给GitHub,这样可以更快的进行访问。下面是我踩的坑,记录一下。
双线部署
部署到coding和github
-
在博客目录下的_config.yml文件中修改Deployment
# Deployment ## Docs: https://hexo.io/docs/deployment.html deploy: - type: git repo: # 这里是你的coding仓库 branch: master - type: git repo: # 这里是GitHub仓库 branch: master在一切准备好之后,在博客目录输入以下命令完成部署,会分别要求输入coding和github仓库的账号和密码。


4245

被折叠的 条评论
为什么被折叠?



