Sean Kearon
Sean Kearon

Reputation: 11427

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".

Failed to save

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

Upvotes: 0

Views: 4861

Answers (1)

Milan Patel
Milan Patel

Reputation: 144

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) !

Upvotes: 1

Related Questions