I was also facing the same problem while deploying my angular 19 app (Not using SSR) on AZURE.
updating
output_location - "dist/my-app-name/browser"
in .yml file helped me out. It wanted the location of index.html file in your build.
I suggest to build locally, find out where is your index.html file is in dist folder. Update path in .yml file present in your github repsository in ".github/workflows" folder.
# You can also set this path while creating a new "static web app" in AZURE