How to link Heroku app to private Github Repo?

12,087

Solution 1

As mentioned in the documentation.

You can configure GitHub integration in the Deploy tab of apps in the Heroku Dashboard. To configure GitHub integration, you have to authenticate with GitHub. You only have to do this once per Heroku account.

After that you can find public or private repo in this panel: enter image description here

Solution 2

Here is a link from heroku's documentation that tells you exactly how to do this , follow these steps and you will connect your repo with your heroku app

https://devcenter.heroku.com/articles/github-integration

Share:
12,087

Related videos on Youtube

Lance Samaria
Author by

Lance Samaria

Self taught iOS developer from the Marble Hill section of the Bronx NY. ARKit novice but interested in advanced topics.

Updated on September 15, 2022

Comments

  • Lance Samaria
    Lance Samaria over 1 year

    I'm new to Heroku and I'm not familiar with the Deploy/Pipeline verbiage.

    I already have the Heroku CLI installed and I deployed an app using:

    run: heroku create myNewHerokuApp
    

    My instance is now made.

    I have a private repo on Github.

    https://github.com/myUserName/myPrivateRepoName.git
    

    How do I link my myNewHerokuApp with myPrivateRepoName.git?

  • Emad Aghaei
    Emad Aghaei almost 6 years
    I could not find any steps regarding deploying private GitHub repo!