为什么我自己的 GitHub 页面不显示我的项目?

Why doesn't my own GitHub page show my project?

这是我的第一个 GitHub 页;我已经创建了存储库,甚至将我的项目粘贴到其中,但是当我输入 URL 时,它给出了 404 错误,并显示“此处没有 GitHub 页面站点”描述。 我的项目名为 'weather-app' 和 URL:https://salehghari.github.io/

所以应该是这样的:https://salehghari.github.io/weather-app/weatherapp.html

您需要配置要用于 GitHub 页面站点的分支。

These are the steps you need to follow

我在 Github 上检查了您的存储库,Actions 下的所有 Builds 都标记为 Failure Deploy 下出现以下错误:

Error: No uploaded artifact was found!

Build 下我看到了这个:

Error: fatal: No url found for submodule path 'weather-app' in .gitmodules Error: The process '/usr/bin/git' failed with exit code 128

您正在使用 子模块 但我在存储库中没有看到可点击的 link,您确定这是正确的吗?检查这个子模块是否正确,Github Community上也有关于这个主题的问题。

我删除了那个存储库并创建了另一个。 之前回购中无法点击的文件夹导致了 404 错误。因为我曾将该文件夹推送到 GitHub 一次,所以这意味着其中有一个 .git 文件。谢谢大家我感谢你的帮助