I have a VS 2022 sln that I created from the 'Angular and ASP.NET Core' template. The basic folder layout is like this: -MySln -angular.client -webapi.server It runs fine locally. I have a GitHub .yml workflow to build/deploy them, and it has this line: run npm run build -- --configuration production --output-path "../webapi.server/wwwroot" When I look at the final folder structure on the Ubuntu web app (or just download the zip artifact), it looks like this: ~/site wwwroot <- the DLLs are here wwwroot <- nested wwwroot folder browser <- has the index.html etc. I can get to my swagger page just fine in a browser. But entering just the root gives 404. If I take out the 'wwwroot' from the yml file, to avoid the nested wwwroots, like this: run: npm run build -- --configuration production --output-path "../webapi.server" it makes the .net build fail that comes right after (maybe because the angular build clears out all the source files in the web api project before output files?) What am I doing wrong? Continue reading...