我如何将内部公司github存储库连接到heroku? [英] How do I connect internal corporate github repo to heroku?

查看:92
本文介绍了我如何将内部公司github存储库连接到heroku?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在遵循准则,并尝试将heroku连接到我们自己的公司github中的github存储库(github url与标准github的URL不同).但是,我找不到合适的方法-单击此按钮会将我重定向到github.com,而不是git.companyname.com:

I was following guidelines and tried to connect heroku to a github repo within our own corporate github (the github url differs from the standard one). Yet, I couldn't find a proper way to do so – clicking on this button would redirect me to github.com, and not git.companyname.com:

关于如何解决此问题的任何建议?我需要转到内部github并手动将heroku添加为OAuth应用程序吗?

Any suggestions on how to tackle this issue? Do I need to go to internal github and manually add heroku as OAuth application?

推荐答案

事实证明,Heroku无法与内部企业github很好地集成.就我而言,我的git中有两个远程目标:一个用于github,另一个用于heroku,然后将代码更改推送到两个远程端点.

As it turned out, Heroku does not integrate well with internal enterprise github. In my case I have two remote destinations in my git: one is for github, another one is for heroku, and I push the code changes to both remote endpoints.

这篇关于我如何将内部公司github存储库连接到heroku?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆