简体   繁体   English

带有同级git repos的Heroku部署

[英]Heroku deployment with sibling git repos

We have a maven project structured so that in the main src folder we have two sibling git repositories, one that holds the server code and one that holds common code. 我们有一个Maven项目,因此在src主文件夹中有两个同级git存储库,一个存储服务器代码,另一个存储公共代码。 From what I've seen of heroku, it looks like a deployed app is restricted to a single git repo that holds the entire project. 从我对heroku的了解来看,似乎已部署的应用程序仅限于保存整个项目的单个git repo。 Is there a way around this? 有没有解决的办法? If so, where can I look to find this information? 如果是这样,我在哪里可以找到此信息?

If the "siblings" are Git submodules, you can use Heroku's support for Git submodules: https://devcenter.heroku.com/articles/git-submodules 如果“兄弟姐妹”是Git子模块,则可以使用Heroku对Git子模块的支持: https : //devcenter.heroku.com/articles/git-submodules

Otherwise, you could opt to deploy precompiled artifacts (JAR files): https://devcenter.heroku.com/articles/deploying-executable-jar-files 否则,您可以选择部署预编译的工件(JAR文件): https : //devcenter.heroku.com/articles/deploying-executable-jar-files

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM