GitHub 页面未更新 [英] GitHub pages are not updating

查看:52
本文介绍了GitHub 页面未更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 GitHub 页面上遇到了一个奇怪的问题.我将新提交推送到我的个人页面页面 maltzj.github.io,但新文章没有出现那里.当我在本地执行服务器时,帖子位于 localhost:4000/posts/the-price-of-inconsistent-code/.但是,当我去 http://maltzj.github.io/posts/the-price-of-inconsistent-code 我得到一个 404.我还添加了一个新文件,它应该位于 http://maltz.github.io/test.html,但这也会引发 404.

I'm running into a weird issue with GitHub pages. I pushed a new commit to my personal pages page maltzj.github.io, but the new article isn't showing up there. When I execute the server locally, a post lives at localhost:4000/posts/the-price-of-inconsistent-code/. However, when I go to http://maltzj.github.io/posts/the-price-of-inconsistent-code I get a 404. I also added a new file which should live at http://maltz.github.io/test.html, but that also throws a 404.

一切都在本地构建和运行.我的 Git 存储库是最新的,GitHub 状态页面上没有关于构建问题的任何内容,所以我对如何处理这个问题有点茫然.如何让我的页面更新我添加的新内容?

Everything builds and runs locally. My Git repository is up to date, and there is nothing on the GitHub status page about problems with builds, so I'm at a little bit of a loss about where to go with this. How can I get my page to update with new content that I add?

作为参考,支持我的页面的存储库的位置是 http://github.com/maltzj/maltzj.github.io

For reference, the location of the repository which backs my page is http://github.com/maltzj/maltzj.github.io

推荐答案

这些解决方案都没有为我解决这个问题.解决方案是编辑 GitHub 网站中的 index.html 文件.

None of these solutions solved it for me. The solution was to edit the index.html file in the GitHub website.

该网站随后会按预期在网络上更新.

The website then updates on the web as expected.

这篇关于GitHub 页面未更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆