同步Github和Azure Web Apps [英] Syncing Github and 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.
这篇关于同步Github和Azure Web Apps的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!