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错误。所有内容在本地都构建和运行正常。我的Git仓库是最新的,并且GitHub状态页面上没有关于构建问题的信息,所以我不知道该怎么办?我如何让我的页面更新我添加的新内容?
参考资料,支持我的页面的存储库位于http://github.com/maltzj/maltzj.github.io。
git commit --allow-empty -m "Trigger rebuild"
然后git push
。参考:https://dev59.com/CWgu5IYBdhLWcg3wGjdF#45907768 - Jovial Joe Jayarson