简体   繁体   English

Azure Web服务器成功部署后,Azure Web App wwwroot未更新

[英]Azure Web App wwwroot not updated after successful Azure devops deployment

struggling to understand, what is wrong with my WebApp or deployment configuration. 努力理解我的WebApp或部署配置有什么问题。 I'm using Azure devops pipeline to build and deploy my webapp (frontend Angular, backend Laravel). 我正在使用Azure devops管道来构建和部署我的webapp(前端Angular,后端Laravel)。 Deployment pipeline seems to work (not getting any errors) but wwwroot folder is not updated with latest files. 部署管道似乎工作(没有得到任何错误)但wwwroot文件夹不更新最新文件。 I have tried to search different logs, but not success yet. 我试图搜索不同的日志,但还没有成功。

Here's my release config: Release pipeline config screenshot 这是我的发布配置: 发布管道配置截图

I have made one new file and small update in other file, I can see correct log when release gets executed. 我在其他文件中创建了一个新文件和小更新,我可以在执行发布时看到正确的日志。 (Added test.blade.php and updated welcome.blade.php file). (添加了test.blade.php并更新了welcome.blade.php文件)。 Here's the release/deployment log: Release pipeline Azure App Service Deploy logs screenshot 这是发布/部署日志: 发布管道Azure App Service Deploy日志截图

From the logs everything seems correct, but when looking app/site and files with Kudu, then I can't see those updates. 从日志中看起来一切都是正确的,但是当用Kudu查看app / site和文件时,我看不到这些更新。 At the same time, deleting all files and running release again, files get uploaded to wwwroot. 同时,删除所有文件并再次运行发布,文件上传到wwwroot。

I have been struggling with it now few days, appreciate any help or guidance, what I could additionally check or change. 我几天来一直在努力,感谢任何帮助或指导,我可以另外检查或更改。

thanks! 谢谢!

Just to update, no luck with WebApp deployment, switched to FTP upload (also part of the DevOps pipeline). 只是为了更新,没有运气的WebApp部署,切换到FTP上传(也是DevOps管道的一部分)。 Case closed. 案件结案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM