How to link Heroku app to private Github Repo?
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:
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
Related videos on Youtube
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, 2022Comments
-
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
withmyPrivateRepoName.git
? -
Emad Aghaei almost 6 yearsI could not find any steps regarding deploying private GitHub repo!