按照官方文档更改了 config.yml ,然后执行 hexo d 的时候出现错误
'''
[error] Deployer not found: undefined
'''
需要修改站点 config (即hexo 根目录下的 config)下的 deploy 字段,修改样式如下:
deploy:
type: git
repository: git@github.com:xxx/xxx.github.io.git
branch: master
其中 xxx 为你的 github 标识
之前需要通过npm install hexo-deployer-git --save
安装git支持
检查下config.yml的deploy段,是不是type没写或者有拼写错误