letsencrypt-siteextension icon indicating copy to clipboard operation
letsencrypt-siteextension copied to clipboard

Publish Azure Web App from VSO deletes existing webjobs (including lets encrypt)

Open sjkp opened this issue 9 years ago • 4 comments

sjkp avatar Mar 07 '16 21:03 sjkp

See also #22 on Visual Studio Community

chadwackerman avatar Mar 09 '16 23:03 chadwackerman

There is now an option in vsts build/release tasks to exclude this folder, so if you are disciplined enough to deploy just this way you should be good. I mention the discipline because if doing deploy from Visual Studio directly you'll delete it.

https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/AzureRmWebAppDeployment/README.md Exclude Files from the App_Data Folder: Select the option to prevent files in the App_Data folder from being deployed to the AzureRM Web App. This is a useful option to select, if a local database or a WebJob has been deployed earlier to the AzureRM Web App, and they should not be deleted in the subsequent deployments of the Web project.

philbritton avatar Jun 24 '17 22:06 philbritton

@philbritton thanks for the heads up.

sjkp avatar Jun 28 '17 11:06 sjkp

I created a WebJob that can run from a different (probably dedicated) Web App so this won't be an issue: https://github.com/ohadschn/letsencrypt-webapp-renewer.

ohadschn avatar Aug 19 '17 14:08 ohadschn