简体   繁体   中英

How to edit files in Azure App Service when continuous deployment is enabled

I have an Azure App Service app that has continuous deployment from Azure DevOps enabled.

When I try to use the App Service Editor to change a file, such as a configuration file, I get an error saying that the edits cannot be saved. I also see a warning saying "Continuous deployment may be enabled".

保存失败

How can manual changes be made to files in an Azure App Service when continuous deployment is enabled?

you can definately make changes.

there are so majorly 2 ways you can do it using cli (I prefer) or text editor in your service.

Here is how you can make changes.

open new tab and copy this https://Your-apps-service.scm.azurewebsites.net/webssh/host url

REPLACE Your-apps-service with your app service URL

navigate to your application folder cd site/wwwroot unless, server is set manually or something

then navigate to folder and edit file in vi text editor.

save changes and restart server (app service) !

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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