How do I set GitHub as my deployment source for an Azure AppService?

David Thielen 2,256 Reputation points
2021-12-06T23:00:27.227+00:00

I am trying to set GitHub as my source for my Azure AppService deployment. I have gone to Deployment | Deployment Center. I fill it out and press save (workflow configuration edit box I left blank as I don't know what that is).

But when I try to go elsewhere in the portal, I get: "Your unsaved edits will be discarded."

What do I need to do?

ps - This answer is obsolete.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,865 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,421 Reputation points
    2021-12-07T08:42:26.4+00:00

    @David Thielen ,

    Thanks for reaching out to Q&A.

    Github can be used as a source repository for Azure app service and it can be done via deployment center. Once you choose Github as repository, there are three build provider options to choose : App service build service , Github actions and Azure pipeplines ( Azure devops).

    I am not sure which build provider you have chosen. If you have chosen App service build service, as soon as you fill out the repo details and click complete, the deployment would be successful.

    Please refer to this article if you would like to choose github actions : https://learn.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=applevel

    If this doesnt help, please provide the screenshot of the problem you are facing, I will take a look into it.

    I hope this helps!

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments

  2. David Thielen 2,256 Reputation points
    2021-12-07T23:07:46.29+00:00

    Hi Mughundhan;

    Thanks for answering. I figure the best way is to show what I am trying to save. Note that this website is just html files so no app (.NET, PHP, etc.)

    thanks - dave

    155792-github-azure.png


  3. David Thielen 2,256 Reputation points
    2021-12-08T15:06:36.283+00:00

    Hi Mughundhan;

    Thanks for answering. I am not getting the same result. When I click save I get:

    155947-github-azure-2.png

    And when I then try to go elsewhere in the portal I get:

    155859-github-azure-3.png

    ??? - thanks - dave