Deploy to Azure App Service

How to deploy to Azure App Service with Buddy?

Deploying to Azure App Service with Buddy is a straightforward process. All you need to do is create a project and set up a pipeline. Once these steps are completed, Buddy takes care of the rest, automatically updating the files in your Azure account with the latest changes from the repository. You can also configure the pipeline to run recurrently or manually on click.

Image loading...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 web and mobile apps before the deployment.

Downloading publish profile from Azure Portal

  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:

Image loading...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:

Image loading...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.

Image loading...Adding a new pipelineAdding a new pipeline

Configure Azure App Service deployment

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

Image loading...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.

Image loading...Azure configuration detailsAzure configuration details

  1. When ready, click Add this action to finish configuration.

With the deployment action in place, you can now expand your continuous deployment pipeline by adding other steps. Test your mobile and web apps before the deployment and stay up-to-date about the progress with notification actions.

Hint

đź“š Learn more about Azure App Service action features, integrations and alternatives.

Last update:
Sep 25, 2024