简体   繁体   中英

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. 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. 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

Otherwise, you could opt to deploy precompiled artifacts (JAR files): https://devcenter.heroku.com/articles/deploying-executable-jar-files

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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