早上起来弄到现在六个小时左右,终于完成了个人网站的初始化。
直接说吧 就在hexo init 和 hexo d这里踩坑
首先前者 hexo init 要注意是把nodejs更新到最新版本
hexo d 的话 要先获取ssh公钥,怎么获取百度
完成这一步之后 会经常撞到 网络不稳定导致各种failed的原因
在这里希望大家的配置能这样设置:
不建议用https 用ssh
deploy:
type: git
repository:
github: git@github.com:你的名字/你的名字.github.io.git
branch: master