首页 > hexo无法上传到github

hexo无法上传到github

deploy:
type:git
repo:https://github.com/wylcpu/wylcpu.github.io.git
也用过了
deploy:
type:github
repo:https://github.com/wylcpu/wylcpu.github.io.git
使用
hexo deploy
时候也没有报错,看见别人的有报错,但是我的什么错误也没有,这个是什么情况

就是我在安装hexo的是时候出现了这个

但是我在本地上运行时没有问题的,能正确显示


另外一种解决方案比这个要更简单一步

https://github.com/mmistakes/minimal-mistakes

我基于此搭建的

http://jnuc093.github.io/gitflow/


https://pages.github.com/


终于找到原因了,真的坑,在_config.yml中名/值中要有空格例如:type:(空格)git,虽然之前在万能的谷歌搜索了,但是关键词没有用对,这个检索就出来了,https://github.com/hexojs/hexo/issues/1154

我真是醉了。
ps。最新版的hexo貌似要在第一次hexo d的之前,要有npm install hexo-deployer-git --save具体看链接描述
如果你碰到问题了我发现他们的官方github的issue上一搬都能找到答案,真心建议,遇到问题就上这里就行了


可能是网络不好,添加淘宝的源,再试试

【热门文章】
【热门文章】