gpt4 book ai didi

git - 如何将 Heroku 应用程序链接到私有(private) Github Repo?

转载 作者:太空狗 更新时间:2023-10-29 13:12:01 25 4
gpt4 key购买 nike

我是 Heroku 的新手,不熟悉部署/管道措辞。

我已经安装了 Heroku CLI 并使用以下方法部署了一个应用:

run: heroku create myNewHerokuApp

我的实例现已创建。

我在 Github 上有一个私有(private)仓库。

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

如何将我的 myNewHerokuApp 链接到 myPrivateRepoName.git

最佳答案

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.

之后,您可以在此面板中找到公共(public)或私有(private)仓库: enter image description here

关于git - 如何将 Heroku 应用程序链接到私有(private) Github Repo?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41417963/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com