Skip to content

Commit b128a16

Browse files
Merge pull request #106915 from iamsrivatsa/v-srmar/deployment-center-update
Deployment center update
2 parents 4f251c2 + 5f1522c commit b128a16

File tree

7 files changed

+60
-35
lines changed

7 files changed

+60
-35
lines changed

articles/app-service/deploy-continuous-deployment.md

Lines changed: 60 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ title: Configure continuous deployment
33
description: Learn how to enable CI/CD to Azure App Service from GitHub, BitBucket, Azure Repos, or other repos. Select the build pipeline that fits your needs.
44
ms.assetid: 6adb5c84-6cf3-424e-a336-c554f23b4000
55
ms.topic: article
6-
ms.date: 08/23/2019
6+
ms.date: 03/20/2020
77
ms.reviewer: dariac
88
ms.custom: seodec18
9-
109
---
10+
1111
# Continuous deployment to Azure App Service
1212

1313
[Azure App Service](overview.md) enables continuous deployment from GitHub, BitBucket, and [Azure Repos](https://azure.microsoft.com/services/devops/repos/) repositories by pulling in the latest updates. This article shows you how to use the Azure portal to continuously deploy your app through the Kudu build service or [Azure Pipelines](https://azure.microsoft.com/services/devops/pipelines/).
@@ -22,11 +22,11 @@ To use Azure Repos, make sure your Azure DevOps organization is linked to your A
2222

2323
For Bitbucket or GitHub, authorize Azure App Service to connect to your repository. You only need to authorize with a source control service once.
2424

25-
1. In the [Azure portal](https://portal.azure.com), search for and select **App Services**.
25+
1. In the [Azure portal](https://portal.azure.com), search for **App Services** and select.
2626

2727
![Search for App services.](media/app-service-continuous-deployment/search-for-app-services.png)
2828

29-
1. Select the web app you want to deploy.
29+
1. Select the App Service you want to deploy.
3030

3131
![Select your app.](media/app-service-continuous-deployment/select-your-app.png)
3232

@@ -40,13 +40,13 @@ For Bitbucket or GitHub, authorize Azure App Service to connect to your reposito
4040

4141
## Enable continuous deployment
4242

43-
After you authorize a source control service, configure your app for continuous deployment through the built-in [Kudu App Service build server](#option-1-use-the-app-service-build-service), or through [Azure Pipelines](#option-2-use-azure-pipelines).
43+
After you authorize a source control service, configure your app for continuous deployment through the built-in [Kudu App Service](#option-1-kudu-app-service) build server, or through [Azure Pipelines](#option-2-azure-pipelines).
4444

45-
### Option 1: Use the App Service build service
45+
### Option 1: Kudu App Service
4646

4747
You can use the built-in Kudu App Service build server to continuously deploy from GitHub, Bitbucket, or Azure Repos.
4848

49-
1. In the [Azure portal](https://portal.azure.com), search for and select **App Services**, and then select the web app you want to deploy.
49+
1. In the [Azure portal](https://portal.azure.com), search for **App Services**, and then select the App Service you want to deploy.
5050

5151
1. On the app page, select **Deployment Center** in the left menu.
5252

@@ -79,59 +79,84 @@ You can use the built-in Kudu App Service build server to continuously deploy fr
7979

8080
1. After you configure the build provider, review the settings on the **Summary** page, and then select **Finish**.
8181

82-
New commits in the selected repository and branch now deploy continuously into your App Service app. You can track the commits and deployments on the **Deployment Center** page.
82+
1. New commits in the selected repository and branch now deploy continuously into your App Service app. You can track the commits and deployments on the **Deployment Center** page.
8383

8484
![Track commits and deployments in Deployment Center](media/app-service-continuous-deployment/github-finished.png)
8585

86-
### Option 2: Use Azure Pipelines
86+
### Option 2: Azure Pipelines
87+
88+
If your account has the necessary permissions, you can set up Azure Pipelines to continuously deploy from GitHub or Azure Repos. For more information about deploying through Azure Pipelines, see [Deploy a web app to Azure App Services](/azure/devops/pipelines/apps/cd/deploy-webdeploy-webapps).
8789

88-
If your account has the necessary permissions, you can set up Azure Pipelines to continuously deploy from GitHub or Azure Repos repositories. For more information about deploying through Azure Pipelines, see [Deploy a web app to Azure App Services](/azure/devops/pipelines/apps/cd/deploy-webdeploy-webapps).
90+
#### Prerequisites
8991

90-
For Azure App Service to create continuous delivery Azure Pipelines in your Azure DevOps organization:
92+
For Azure App Service to create continuous delivery using Azure Pipelines, your Azure DevOps organization should have the following permissions:
9193

9294
- Your Azure account must have permissions to write to Azure Active Directory and create a service.
9395

9496
- Your Azure account must have the **Owner** role in your Azure subscription.
9597

9698
- You must be an administrator in the Azure DevOps project you want to use.
9799

98-
To configure Azure Pipelines (Preview):
100+
#### GitHub + Azure Pipelines
99101

100-
1. In the [Azure portal](https://portal.azure.com), search for and select **App Services**, and then select the web app you want to deploy.
102+
1. In the [Azure portal](https://portal.azure.com), search for **App Services**, and then select the App Service you want to deploy.
101103

102104
1. On the app page, select **Deployment Center** in the left menu.
105+
106+
1. Select **GitHub** as the source control provider on the **Deployment Center** page and select **Continue**. For **GitHub**, you can select **Change Account** to change the authorized account.
107+
108+
![source control](media/app-service-continuous-deployment/deployment-center-src-control.png)
103109

104-
1. On the **Build provider** page, select **Azure Pipelines (Preview)**, and then select **Continue**.
105-
106-
1. On the **Configure** page, in the **Code** section:
110+
1. On the **Build Provider** page, select **Azure Pipelines (Preview)**, and then select **Continue**.
111+
112+
![build provider](media/app-service-continuous-deployment/select-build-provider.png)
107113

108-
- For GitHub, drop down and select the **Organization**, **Repository**, and **Branch** you want to deploy continuously.
114+
1. On the **Configure** page, in the **Code** section, select the **Organization**, **Repository**, and **Branch** you want to deploy continuously and select **Continue**.
109115

110116
> [!NOTE]
111117
> If you don't see any repositories, you may need to authorize Azure App Service in GitHub. Browse to your GitHub repository and go to **Settings** > **Applications** > **Authorized OAuth Apps**. Select **Azure App Service**, and then select **Grant**. For organization repositories, you must be an owner of the organization to grant the permissions.
112-
113-
- For Azure Repos, select the **Azure DevOps Organization**, **Project**, **Repository**, and **Branch** you want to deploy continuously, or configure a new Azure DevOps organization.
114-
115-
> [!NOTE]
116-
> If your existing Azure DevOps organization isn't listed, you may need to link it to your Azure subscription. For more information, see [Define your CD release pipeline](/azure/devops/pipelines/apps/cd/deploy-webdeploy-webapps#cd).
117-
118-
1. Select **Continue**.
119-
120-
1. For Azure Repos, in the **Build** section, specify the language framework that Azure Pipelines should use to run build tasks, and then select **Continue**.
121-
122-
1. On the **Test** page, choose whether to enable load tests, and then select **Continue**.
123-
124-
1. Depending on your App Service plan [pricing tier](https://azure.microsoft.com/pricing/details/app-service/plans/), you may see a **Deploy to staging** page. Choose whether to [enable deployment slots](deploy-staging-slots.md), and then select **Continue**.
125-
126-
> [!NOTE]
127-
> Azure Pipelines doesn't allow continuous delivery to the production slot. This restriction prevents accidental deployments to production. Set up continuous delivery to a staging slot, verify the changes there, and then swap the slots when you are ready.
128-
118+
119+
In the **Build** section, specify the Azure DevOps Organization, Project, language framework that Azure Pipelines should use to run build tasks, and then select **Continue**.
120+
121+
![build provider](media/app-service-continuous-deployment/build-configure.png)
122+
129123
1. After you configure the build provider, review the settings on the **Summary** page, and then select **Finish**.
124+
125+
![build provider](media/app-service-continuous-deployment/summary.png)
130126

131-
New commits in the selected repository and branch now deploy continuously into your App Service app. You can track the commits and deployments on the **Deployment Center** page.
127+
1. New commits in the selected repository and branch now deploy continuously into your App Service. You can track the commits and deployments on the **Deployment Center** page.
132128

133129
![Track commits and deployments in Deployment Center](media/app-service-continuous-deployment/github-finished.png)
134130

131+
#### Azure Repos + Azure Pipelines
132+
133+
1. In the [Azure portal](https://portal.azure.com), search for **App Services**, and then select the App Service you want to deploy.
134+
135+
1. On the app page, select **Deployment Center** in the left menu.
136+
137+
1. Select **Azure Repos** as the source control provider on the **Deployment Center** page and select **Continue**.
138+
139+
![source control](media/app-service-continuous-deployment/deployment-center-src-control.png)
140+
141+
1. On the **Build Provider** page, select **Azure Pipelines (Preview)**, and then select **Continue**.
142+
143+
![source control](media/app-service-continuous-deployment/azure-pipelines.png)
144+
145+
1. On the **Configure** page, in the **Code** section, select the **Organization**, **Repository**, and **Branch** you want to deploy continuously and select **Continue**.
146+
147+
> [!NOTE]
148+
> If your existing Azure DevOps organization isn't listed, you may need to link it to your Azure subscription. For more information, see [Define your CD release pipeline](/azure/devops/pipelines/apps/cd/deploy-webdeploy-webapps#cd).
149+
150+
In the **Build** section, specify the Azure DevOps Organization, Project, language framework that Azure Pipelines should use to run build tasks, and then select **Continue**.
151+
152+
![build provider](media/app-service-continuous-deployment/build-configure.png)
153+
154+
1. After you configure the build provider, review the settings on the **Summary** page, and then select **Finish**.
155+
156+
![build provider](media/app-service-continuous-deployment/summary-azure-pipelines.png)
157+
158+
1. New commits in the selected repository and branch now deploy continuously into your App Service. You can track the commits and deployments on the **Deployment Center** page.
159+
135160
## Disable continuous deployment
136161

137162
To disable continuous deployment, select **Disconnect** at the top of your app's **Deployment Center** page.
35 KB
Loading
10.4 KB
Loading
46.8 KB
Loading
51.6 KB
Loading
27.1 KB
Loading
11.2 KB
Loading

0 commit comments

Comments
 (0)