Continuous Deployment support for repositories hosted on GitHub has been a requested feature on our User Voice site. I’m excited to say we’ve recently enabled this functionality in the Azure Preview Portal.
To highlight how this works, check out the example below.
Create a new organization in GitHub and make sure you can deploy some of the repositories hosted to Web Apps using Continuous Deployment.
Start with the Azure Preview Portal by authenticating your GitHub account to ensure access to the organizations you want to use.
To do this, navigate to the site where you want to setup CI then:
- Click on Continuous Deployment.
- Select the CI Provider (in this case GitHub) and go through the authorization flow.
- Click Authorize and log in with your GitHub credentials.
From GitHub go to your user Settings (1).
Select Applications (1) from the Personal Settings section and click on the Azure Management Portal (2) from the Authorized Applications list.
This will bring up the authorized application permissions and will include a list of Organization access for the organization you belong to.
If you are an Owner for the organization you will be able to Grant access (1) directly from here. However if you are not an owner you will need to Request Access and an Owner will need to approve it.
Once access has been granted for the organization you can select it when configuring Continuous Deployment.
If you want to see a demo of this in action you can check out the Channel 9 video: GitHub continuous delivery in the Azure Preview Portal