In an ASP.NET Core 7 Blazor WebAssembly app, I had everything working well hosting on GitHub Pages via Actions deploying with the help of JamesIves/github-pages-deploy-action@v4
But after upgrading to ASP.NET Core 8 and converting it to a Blazor Web App, it uses a App.razor file in the server project instead of index.html. Index.html is deleted.
I think GitHub Pages needs an index.html to work at all, right? How do I get my Blazor Web App to work in GitHub Pages without index.html? If I just try it the same way as in the Blazor WebAssembly app, I get the 404 page, and I assume that's because I have no index.html. Any suggestions?