I have a simple index.html in github. I created a static web app in azure and pointed it to git hub. It ran some sort of build pipeline and my page was live without problem.
Now I added some more pages, but when I push to git, the static web app build fails with:
Oryx built the app folder but was unable to determine the location of the app artifacts. Please specify the app artifact location.
Many people have the same issue, and the general recommendation is to set api_location, but I cant find where this is specified.
I cant find any build scripts, and I certainly dont have enough knowledge to write one from scratch.
The build script presumably only needs to do a simple checkout of the git files.
UPDATE
Searching for a solution, I came across a yaml file hidden under .github.
It has the following:
app_location: "/" # App source code path
api_location: "" # Api source code path - optional
output_location: "" # Built app content directory - optional
This doesn't really help, as its not obvious what an "app artifact" is, nor where it should go.
Any suggestions?
skip_app_build: 'true'
– Semipalatinsk