同步Github和Azure Web Apps [英] Syncing Github and Azure Web Apps

查看:73
本文介绍了同步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.


这篇关于同步Github和Azure Web Apps的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆