Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 Error when deploy to the github page. #2404

Closed
YoungSmiths opened this issue Feb 13, 2017 · 3 comments
Closed

404 Error when deploy to the github page. #2404

YoungSmiths opened this issue Feb 13, 2017 · 3 comments

Comments

@YoungSmiths
Copy link

YoungSmiths commented Feb 13, 2017

我搭建的Hexo本地可以访问,但是上传到GitHub就访问不了了,麻烦大神帮我看看,https://github.com/YoungSmiths/youngsmith.github.io
,谢谢各位了。
哦,报404的错误

@NoahDragon NoahDragon changed the title 我搭建的Hexo本地可以访问,但是上传到GitHub就访问不了了,麻烦大神帮我看看,https://github.com/YoungSmiths/youngsmith.github.io,谢谢各位了。 404 Error when deploy to the github page. Feb 13, 2017
@NoahDragon
Copy link
Member

首先将Hexo的source另建一个Repo,配置文件不变,运行完hexo ghexo d

@YoungSmiths
Copy link
Author

YoungSmiths commented Feb 13, 2017

需要两个repo么?我是菜鸟,能具体说明一下么?
3q

@NoahDragon
Copy link
Member

NoahDragon commented Feb 13, 2017

也可以设置两个Branch, 2个Repo是比较简单的方法,而且方便管理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants