问题由来
source 文件夹下_config.yml修改如下:
deploy:
type: git
# repo: git@github.com:allengaller/allengaller.github.io.git
repo: https://github.com/xxx/ideEn.git #修改成自己的
branch: master
运行 hexo deploy,
报错:ERROR Deployer not found: github
解决方法
- 检查:后面需要有一个空格;
- 检查是否安装git,没有执行下列命令,
$ npm install hexo-deployer-git –save - 然后
$ hexo deploy