How to clean up wwwroot folder on the target Azure Websites Windows Server before each deployment in VSTS

前端 未结 3 1939
没有蜡笔的小新
没有蜡笔的小新 2021-02-02 10:50

After about a dozen deployments, the wwwroot directory is filled with a lot of files due to active development and deployments. We are using VSTS\'s Azure A

3条回答
  •  天涯浪人
    2021-02-02 11:25

    For a manually process and for those not having VSTS, you can use Kudu console to delete the files/folders in Azure Web App.

    To access the site/files through the Kudu console use the below URL.

    https://****.scm.azurewebsites.net/ (enter your website name instead of ****)

    Click on the Debug Console -> PowerShell to open a console along with files, then select and delete the files/folders using the option available.

提交回复
热议问题