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

部署到 git 后 打开 GitHub Pages 为 404 #3427

Closed
ChokW opened this issue Jan 23, 2019 · 14 comments
Closed

部署到 git 后 打开 GitHub Pages 为 404 #3427

ChokW opened this issue Jan 23, 2019 · 14 comments
Labels
question Needs help in usage

Comments

@ChokW
Copy link

ChokW commented Jan 23, 2019

我的 git 目录内容如下
wx20190123-175711 2x

我本地文件夹内容如下
2019-01-23 17 59 32

部署结果如下
2019-01-23 17 59 23

结果打开自己的 GitHub Pages 结果还是 404 (如图)
wx20190123-180020 2x

不知道该如何解决了 麻烦各位技术大大帮忙看看 救救孩子吧

@yoshinorin yoshinorin added the question Needs help in usage label Jan 23, 2019
@yoshinorin
Copy link
Member

GitHub free plan maybe can not use GitHub pages.

https://github.com/pricing

@ChokW
Copy link
Author

ChokW commented Jan 25, 2019

GitHub免费计划可能无法使用GitHub页面。

https://github.com/pricing

I'm really sorry, I still need your help, I didn't see where the free plan can't be used

@yoshinorin
Copy link
Member

OK :)
It seems free plan maybe can not use pages feature, if repository is private.

plan

@hifocus
Copy link

hifocus commented Jan 27, 2019

GitHub免费计划可能无法使用GitHub页面。

https://github.com/pricing

I'm really sorry, I still need your help, I didn't see where the free plan can't be used

You are a Free Plan user but storing your Hexo site in a private repo.

For Free Plan users GitHub Pages are not supported in private repos. Please do the "make public" action where you can find it at the bottom of the Setting page of your repo.

For more detailed explanations, please see https://webcache.googleusercontent.com/search?q=cache:ZMdM8F0qLAsJ:https://justhx.com/knowledge/about-github-private-repo.html+&cd=2&hl=en&ct=clnk&gl=uk (Sorry, my blog was down)

@amosnothing
Copy link

去该项目的setting查找GitHub Pages, 里面会显示域名,应该不是你访问的那一个!

比如我的 https://amoslovepython.github.io/blog/
一般都会有一个io/xxx/ ,你访问的就没有加上。

@hifocus
Copy link

hifocus commented Jan 28, 2019

去该项目的setting查找GitHub Pages, 里面会显示域名,应该不是你访问的那一个!

比如我的 https://amoslovepython.github.io/blog/
一般都会有一个io/xxx/ ,你访问的就没有加上。

他的截图里面用的就是 github.io,没有其他后缀

@shioko
Copy link

shioko commented Jan 29, 2019

把你的hexo仓库改成公开的……免费用户不能在私有仓库上挂github pages

@ChokW
Copy link
Author

ChokW commented Feb 11, 2019

嗯 感谢各位大大 改成公开的就好了..... @yoshinorin @shioko @hifocus @amosnothing

@ChokW ChokW closed this as completed Feb 11, 2019
@blackw4tch
Copy link

我手贱了,一开始public可以访问,后来改成private访问不了,再改成public就访问不了了,什么情况

我也是这样QAQ,请问你解决了吗

@blackw4tch
Copy link

我手贱了,一开始public可以访问,后来改成private访问不了,再改成public就访问不了了,什么情况

我也是这样QAQ,请问你解决了吗

删除根目录下的.deploy文件夹,重新生成就好了

解决了,THX !!

@JinxLori
Copy link

JinxLori commented Dec 9, 2020

我手贱了,一开始public可以访问,后来改成private访问不了,再改成public就访问不了了,什么情况

我也是这样QAQ,请问你解决了吗

删除根目录下的.deploy文件夹,重新生成就好了

解决了,THX !!
.deploy 文件夹在哪儿 .
deploy_git吗

@myfairladywenwen
Copy link

我手贱了,一开始public可以访问,后来改成private访问不了,再改成public就访问不了了,什么情况

我也是这样QAQ,请问你解决了吗

删除根目录下的.deploy文件夹,重新生成就好了

解决了,THX !!
.deploy 文件夹在哪儿 .
deploy_git吗

请问可以具体指导一下嘛?我也是 public 手残改成 private 再改回 Public 就不行了,在哪里找到.deploy 呢?重新生成是指?谢谢!

@myfairladywenwen
Copy link

刚才试了下,重新 commit 一个到 master就好了,会重新 build

@chergn

This comment was marked as off-topic.

@hexojs hexojs locked as resolved and limited conversation to collaborators Mar 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Needs help in usage
Projects
None yet
Development

No branches or pull requests

10 participants