Github Pages site not detecting index.html [closed]

I created a GitHub pages repository. For some reason when I name it https://[username].github.io, it doesn't work, but it works when I name it https://[username].github.io/index.html.

Why?


It got fixed automatically. I just had to wait for a while for the settings to take effect.


Pushing a second commit fixed this for me.

Seeing other answers where changes fix this, my guess is that you need to trigger a few of deployments to get it to work.

Every push will trigger a new deployment. You can track deployments at https://github.com/username/username.github.io/deployments.