letsencrypt-siteextension
letsencrypt-siteextension copied to clipboard
Publish Azure Web App from VSO deletes existing webjobs (including lets encrypt)
See also #22 on Visual Studio Community
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 thanks for the heads up.
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.