You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matt Hernandez edited this page Jan 15, 2019
·
2 revisions
Configure App Service to automatically deploy your GitHub repository when changes are pushed. With this setup, you can also rollback to previous commits if something goes wrong.
Create a new app in App Service
TIP: Click the "+" icon in the explorer to create a new app without deploying your current workspace
In the Azure App Service explorer, expand the app then expand Deployments
Click Connect to a GitHub repository...
Authorize Azure to access your GitHub organization by clicking Go to Portal in the notification
Click on "GitHub" (1 in the screenshot below) then click Authorize (2 in the screenshot below)
Once authorized, close the browser window, return to Visual Studio Code, and click Connect to a GitHub repository... in the explorer again. From here, choose the organization, repository, and branch you want to deploy.
It will take some time while Azure configures the necessary hooks and does an initial deployment. Once configuration and deployment are complete, use the Deployments node to quickly verify the status of your deployments, view the deployment logs, or rollback to a previous commit.