To enable clean deployment with zipdeploy, we need to add cleanup step to deployment pipeline before doing the deployment with Azure app service deploy task. This blog has a PowerShell script which can be used to cleanup wwwroot folder of the app service before new deployment. We can modify the script in that blog, to work with multiple slots in Azure app services and use as a task in Linux agents.
Tuesday, November 22, 2022
Enabling Clean Deployment with zipDeploy in Azure App Service Deploy Task
Azure App Service deploy task capable of doing several deployments such as web deploy, and zip deploy. Web deploy method supports clean deployments to the Azure app service app, but zip deploy doesn't have option to do a clean deployment. But we may want to use zipDeploy specially with Linux hosted agents as described in the post here.
Monday, November 14, 2022
Resolve "Error: Publish using webdeploy options are supported only when using Windows agent"
This blog explains how to resolve "Error: Publish using web deploy options are supported only when using Windows agent", in Azure App Service deploy task, with web deploy as deployment type and Linux as release agent.
Error:
"Publish using webdeploy options are supported only when using Windows agent"
Wednesday, November 9, 2022
Enable Debug Logging in GitHub Actions
Trouble shooting automation pipelines are getting easier when we have enough details of the steps in the logs. In GitHub workflows, we can enable step debug logs to get detailed logs for job. This blog explains how to enable step debug logging in GitHub workflows.
Before enable step loggings, you will get less logs as shown in below image.
Subscribe to:
Posts (Atom)
-
As DevOps engineers, you get requirements to do scripts to perform several actions on application or get status of the application backend ...
-
If you are familiar with Terraform, you might have experience with terraform state import, which allows to import state of the already prov...
-
This post will discuss the issue you might get when trying to push the nuget package to the Azure DevOps Artifact feed using the build pipel...