问题描述
$ hexo g -d
INFO Validating config
Inferno is in development mode.
INFO === Checking package dependencies ===
INFO === Checking theme configurations ===
INFO === Registering Hexo extensions ===
INFO Start processing
INFO Files loaded in 740 ms
INFO 0 files generated in 182 ms
INFO deploying: git
INFO Clearing .deploy_git folder...
INFO copying files from public folder...
然后它会停在这里而不报告任何错误。没有任何内容上传到我的 github 存储库。我可以在 .deploy_git 中看到最新的文档。我发现我可以在 .deploy_git 中使用 'git push' 上传到我的仓库。
我很确定我在 _config.yml 中的每个冒号后都添加了空格。而且链接绝对是正确的。对这个问题有什么想法吗?
解决方法
运行:
npm un hexo-deployer-git
npm i hexojs/hexo-deployer-git
https://github.com/hexojs/hexo/issues/4634
测试有效