hexo博客部署到github无法上传的问题

  博客生成之后,按照网上别人的教程,讲项目部署到github上,修改_config.yaml中的deploy部分如下所示:

deploy:
  type: git
  repository: https://github.com/nummy/nummy.github.io.git
  branch: master

  执行hexo deploy报错:

error: The requested URL returned error: 403 Forbidden while accessing https://github.com/nummy/nummy.github.io.git/info/refs

fatal: HTTP request failed
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: error: The requested URL returned error: 403 Forbidden while accessing https://github.com/nummy/nummy.github.io.git/info/refs

  修改repository为:

 repository: https://github.com/nummy/nummy.github.io.git

  就可以部署成功了。

 

posted @ 2016-02-17 14:39  楚狂人阿飞  阅读(1529)  评论(0编辑  收藏  举报