Skip to content

Commit a7de776

Browse files
committed
updated content
1 parent 0d0c25b commit a7de776

File tree

7 files changed

+50
-21
lines changed

7 files changed

+50
-21
lines changed

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

Lines changed: 50 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ 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
99

1010
---
11+
1112
# Continuous deployment to Azure App Service
1213

1314
[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 +23,11 @@ To use Azure Repos, make sure your Azure DevOps organization is linked to your A
2223

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

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

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

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

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

@@ -42,11 +43,11 @@ For Bitbucket or GitHub, authorize Azure App Service to connect to your reposito
4243

4344
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).
4445

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

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

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.
50+
1. In the [Azure portal](https://portal.azure.com), search for **App Services**, and then select the App Service you want to deploy.
5051

5152
1. On the app page, select **Deployment Center** in the left menu.
5253

@@ -83,9 +84,11 @@ You can use the built-in Kudu App Service build server to continuously deploy fr
8384

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

86-
### Option 2: Use Azure Pipelines
87+
### Option 2: Azure Pipelines
88+
89+
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).
8790

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).
91+
#### Prerequisites
8992

9093
For Azure App Service to create continuous delivery using Azure Pipelines, your Azure DevOps organization should have the following permissions:
9194

@@ -95,40 +98,66 @@ For Azure App Service to create continuous delivery using Azure Pipelines, your
9598

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

98-
To configure the Azure Pipelines (Preview):
101+
#### GitHub + Azure Pipelines
99102

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

102105
1. On the app page, select **Deployment Center** in the left menu.
103106

104-
1. Select your authorized source control provider on the **Deployment Center** page and select **Continue**. For **GitHub**, you can select **Change Account** to change the authorized account.
107+
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.
105108

106109
![source control](media/app-service-continuous-deployment/deployment-center-src-control.png)
107110

108111
1. On the **Build Provider** page, select **Azure Pipelines (Preview)**, and then select **Continue**.
109112

110113
![build provider](media/app-service-continuous-deployment/select-build-provider.png)
111114

112-
1. On the **Configure** page, in the **Code** section:
113-
114-
- For **GitHub**, select the **Organization**, **Repository**, and **Branch** you want to deploy continuously and select **Continue**.
115+
1. On the **Configure** page, in the **Code** section, select the **Organization**, **Repository**, and **Branch** you want to deploy continuously and select **Continue**.
115116

116117
> [!NOTE]
117118
> 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.
118-
119-
- For Azure Repos, select the **Azure DevOps Organization**, **Project**, **Repository**, and **Branch** you want to deploy continuously, or configure a new Azure DevOps organization and select **Continue**.
120-
121-
> [!NOTE]
122-
> 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).
123-
124-
1. In the **Build** section, specify the language framework that Azure Pipelines should use to run build tasks, and then select **Continue**.
119+
120+
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**.
121+
122+
![build provider](media/app-service-continuous-deployment/build-configure.png)
125123

126124
1. After you configure the build provider, review the settings on the **Summary** page, and then select **Finish**.
125+
126+
![build provider](media/app-service-continuous-deployment/summary.png)
127127

128-
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.
128+
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.
129129

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

132+
#### Azure Repos + Azure Pipelines
133+
134+
1. In the [Azure portal](https://portal.azure.com), search for **App Services**, and then select the App Service you want to deploy.
135+
136+
1. On the app page, select **Deployment Center** in the left menu.
137+
138+
1. Select **Azure Repos** as the source control provider on the **Deployment Center** page and select **Continue**.
139+
140+
![source control](media/app-service-continuous-deployment/deployment-center-src-control.png)
141+
142+
1. On the **Build Provider** page, select **Azure Pipelines (Preview)**, and then select **Continue**.
143+
144+
![source control](media/app-service-continuous-deployment/azure-pipelines.png)
145+
146+
1. On the **Configure** page, in the **Code** section, select the **Organization**, **Repository**, and **Branch** you want to deploy continuously and select **Continue**.
147+
148+
> [!NOTE]
149+
> 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).
150+
151+
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**.
152+
153+
![build provider](media/app-service-continuous-deployment/build-configure.png)
154+
155+
1. After you configure the build provider, review the settings on the **Summary** page, and then select **Finish**.
156+
157+
![build provider](media/app-service-continuous-deployment/summary-azure-pipelines.png)
158+
159+
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.
160+
132161
## Disable continuous deployment
133162

134163
To disable continuous deployment, select **Disconnect** at the top of your app's **Deployment Center** page.
35 KB
Loading
10.4 KB
Loading
-6.42 KB
Loading
-5.8 KB
Loading
27.1 KB
Loading
11.2 KB
Loading

0 commit comments

Comments
 (0)