我试着在Azure上测试不同的东西,并且尝试设置一个静态的webapp。github回购没有什么真正的东西。

这些文件几乎是空的。每当我将某些东西推送到回购时,生成就会触发,但是错误Oryx built the app folder but was unable to determine the location of the app artifacts. Please specify the app artifact location through the Github workflow file.失败了。
我不知道这对文物意味着什么。这个微小的webapp没有任何真正的构建或任何东西在天青静态web应用-xxxxxx-xxxx-xxxxxx.yml文件app_artifact_location是“”。
不太确定它在寻找哪些工件,或者它们到底是什么。
发布于 2020-09-29 07:57:19
您可能想研究一下这个Quickstart:构建您的第一个静态web应用程序。
添加到此app_artifact_location的是构建输出目录相对于app_location的位置。例如,如果应用程序源代码位于/app,并且构建脚本将文件输出到/app/build文件夹,那么将build设置为app_artifact_location值。
在步骤中,构建和部署构建并部署到Azure实例中。在with部分下,您可以为部署自定义这些值。
参考资料:https://learn.microsoft.com/en-gb/azure/static-web-apps/github-actions-workflow
发布于 2020-10-19 05:30:11
基于https://learn.microsoft.com/en-us/azure/static-web-apps/overview
https://stackoverflow.com/questions/64008253
复制相似问题