Although I've been studying computer science for a few years now and am pretty comfortable talking about it, this is a new area for me and I'm not very familiar with all the proper terminology, so I apologize in advance.
I'm trying to publish an azure static web app to act as a personal portfolio. I have the full ASP .NET Core MVC project built and I have added the github action workflow file but believe I have configured it incorrectly. It successfully builds in Oryx but gets stuck shortly after with this error:
Failed to find a default file in the app artifacts folder (/). Valid default files: index.html,Index.html.
If your application contains purely static content, please verify that the variable 'app_location' in your workflow file points to the root of your application.
If your application requires build steps, please validate that a default file exists in the build output directory.
Here is my workflow file env variables:
env:
APP_LOCATION: "/projectname" # location of your client code
#API_LOCATION: "api" # location of your api source code - optional
APP_ARTIFACT_LOCATION: "/"
skip_app_build: true
AZURE_STATIC_WEB_APPS_API_TOKEN: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
I'm wondering if what I'm trying to do is even possible, or if I'm barking up the wrong tree by trying to publish this kind of project without building it with something like Blazor. Any thoughts or recommendations?