In this article, you will learn how to build and deploy an application on the Azure app service using GitHub Actions. We will create Azure App Service, App Service Plan, upload the code on Github and deploy the code through the GitHub actions to app service.

App Service is a service that hosts applications like web apps, logic apps, APIs, etc. To create an app under the app service, you need an azure app service plan. So let’s first create one azure app service plan.

App Service and Plan

Azure App Deployment with GitHub Action

Azure App Deployment with GitHub Action

Azure App Deployment with GitHub Action

Azure App Deployment with GitHub Action

Almost everything is done from the App service side. Let’s create one Web API that we will deploy/host on Azure App.

Web API .Net Core

There are two different ways to create a pipeline on GitHub, either from Azure or from GitHub directly.

I will be showing you through the Azure portal.

Azure Deployment Center

Azure App Deployment with GitHub Action

GitHub Action

Azure App Deployment with GitHub Action

Azure App Deployment with GitHub Action

Run Azure Web Site

Azure App Deployment with GitHub Action