同步Github和Azure Web Apps

同步Github和Azure Web Apps

问题描述:

我已成功将Java/Vaddin代码从GitHub同步到Azure.但是我的.war文件会自动进入/wwwroot目录,而不是/wwwroot/webapps目录.

I have successful sync my Java/Vaddin code from GitHub to Azure. But my .war file is automatically going into /wwwroot directory not /wwwroot/webapps directory.

除非手动将ROOT.war移至/wwwroot/webapps,否则我的Web应用程序将无法加载.

My webapp will not load unless I manually move ROOT.war into /wwwroot/webapps.

https://<您的网络应用程序名称> .scm.azurewebsites.net/DebugConsole 中使用命令行> 可以更改设置以自动重定向吗?

Is there setting I can change to automatically redirect this?

我曾尝试使用部署文件,

I have tried using deploy files as in,

https://blogs.msdn.microsoft.com/azureossds/2017/05/09/azure-app-service-java-cicd-with-maven/

https://blogs.msdn.microsoft.com/azureossds/2017/05/09/azure-app-service-java-cicd-with-maven/

但这对我不起作用.


您可以尝试一些应用设置.  请参见 这个.
There is a few app settings you can try.   See this.