95.0k views
3 votes
You have Azure web app named WebApp1.You need to integrate GitHub as a source code repository for WebApp1.What should you use?Select onlone answer.

A. Extensions
B. Deployment slots
C. Deployment Center
D. Service Connector

1 Answer

7 votes

Final answer:

To integrate GitHub with an Azure web app, use the Deployment Center in Azure portal. It is a centralized interface that connects the web app to a source control system and allows continuous integration and deployment. Option C is correct.

Step-by-step explanation:

To integrate GitHub as a source code repository for an Azure web app named WebApp1, you should use the Deployment Center. The Deployment Center in Azure provides a centralized interface to connect your web app to a source control system and configure continuous integration and deployment. Here is a step-by-step explanation of how to set this up:

Go to the Azure portal and navigate to your WebApp1.

In the left menu of the Web App's blade, scroll down to the 'Deployment' section and select Deployment Center.

Choose GitHub as the source where your code is located.

Follow the prompts to authorize Azure to access your GitHub repository.

Select the repository and branch where your code is stored.

Configure the build provider if necessary, and then complete the setup by following the on-screen instructions.

This will establish a connection between your Azure web app and your GitHub repository, enabling automatic deployments when code is pushed to the selected branch.

User Molina
by
8.2k points