博客生成之后,按照网上别人的教程,讲项目部署到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

  就可以部署成功了。

 

相关文章:

  • 2021-09-10
  • 2021-06-18
  • 2021-11-25
  • 2021-12-28
  • 2022-01-17
  • 2021-08-22
  • 2022-01-09
  • 2021-10-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-21
  • 2021-10-29
  • 2022-02-09
  • 2021-09-24
  • 2021-08-16
相关资源
相似解决方案