Please wait, loading...

 

Host Website to azure Web App Part 2 – Setup Deployment center Git and Azure Pipelines

June 5, 2020

TWO: Once Deployment is done GO to Resource to setup Deployment center or enable more features
i.e
Custom Domain - Part 4
Deployment Slots
AD Authentication
Deployment Center
BackUps

Azure App Service enables continuous deployment from GitHub, BitBucket, and Azure Repos repositories by pulling in the latest updates.
We will divide this post into 3 parts
Check1.  Configure Deployment Center using Github or Azure Repos
Check2.   Deployment Slots, for smooth Swap/deployment from Sandbox to Production
Check3.    Custom Domain configration

CHECK1. Configure Deployment Center for Azure Repo and Azure Pipeline

Deployment center is a Centralised service for all the Deployment methods supported by your app.
It Supports Manual push and sync using FTP, One Drive E.T.C or many external Source Control System like.
Azure Repos

Github

Bitbucket

Local Git

We would be configuring Azure Repos with Azure pipelines

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/06/img_5ed9a158f16d6.png?fit=1919%2C947

Select Azure Pipelines,
Remember to have a project in Dev Ops: dev.azure.com. I have created a repository before continuing the config

Select Azure pipelines and proceed with selecting  Organization, project, and repository

Verify Information and click on Finish

Once Successfully deployed, we will have Sync Control and can edit the deployment pipeline.

Click Here : Publish Website to azure using deployment center Now once deployment Pipeline as been configured, we can publish our website using Git repository and sync from deployment center or create a profile and publish directly from visual studio

CHECK2. Deployment Slot , Deploying Website Staging to Production

We can use Deployment Slot to swap website data from Staging to Production or Production to Staging

As I have selected Dev plan, I don’t have the option available, we can refer below link for detailed steps

https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots

Check4: Configure Custom Domain to hosted website on azure app service

We will configure our custom domain supdvmske.dvmske.com to the hosted web app on Azure

-> OOB when deployment is done azure give us a URL to access our website, we will configure our own domain to that web app using A record or CNAMe

 

CLICK HERE FOR FULL POST

Check3: Publish our local Website onto Azure app service created and Deployment center configured

We will demonstrate 2 methods of publishing website from local development machine to azure

  1.  Checkin the code from Local to GitHub and Syncing to azure from deployment center
  2. downloading publisher and publishing from visual studio to Azure

CLICK HERE FOR FULL POST

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/Microsoftdynamics365.png?fit=640%2C651
Microsoft Dynamics Community Profile

Learn more