Deploy to Azure App Service

Buddy turns deployments into a breeze, allowing you to automatically update your servers on every push to branch. You can also deploy manually on click, or recurrently on time intervals.

Example pipeline with deployment to Microsoft AzureExample pipeline with deployment to Microsoft Azure

Tip
If you are new to Buddy, check out our quickstart guides that will tell you how to build and test your application before the deployment.
Hint

📚 Learn more about Azure App Service action features, integrations and alternatives.

Download publish profile from Azure

  1. Log in to the Microsoft Azure Portal.
  2. Go to your web app's blade and click Overview. There will be a Get publish profile link at the top. Click it to download the XML file with the publishing data:

Fetching publish profile from AzureFetching publish profile from Azure

Configure pipeline in Buddy

  1. Create a new project in Buddy and select your Git provider:

Creating a new projectCreating a new project

  1. Add a new pipeline and configure the details: name, trigger mode, and the branch from which you want to deploy.

Adding a new pipelineAdding a new pipeline

Configure Azure App Service deployment

  1. Look up Azure on the action list and click App Service to add it to the pipeline:

Microsoft Azure actionsMicrosoft Azure actions

  1. The action has four configuration tabs:
  • Push – here you provide the Git URL to your application in Azure, login credentials, and the App Service deployment branch
  • Variables – here you can add and modify environment variables required by your workflow
  • Conditions – here you configure the trigger conditions for which the action will run
  • Options – here you define the action's name and behavior on failure and timeout
Warning
If you are using build actions in your pipeline, make sure to check 'Commit artifacts made by preceding pipeline actions' to push them to Azure.

Azure configuration detailsAzure configuration details

  1. When ready, click Add this action to finish configuration.
Success
Congratulations! You have just automated your deployment process to the Azure App Service. 🥳
Last update:
Sep 17, 2024