将git分支及其子模块从Github部署到Heroku

时间:2015-05-29 16:36:05

标签: git heroku github git-submodules

我参考了 Heroku在Github上的部署功能,允许您从Github分支部署到Heroku。请参阅:https://devcenter.heroku.com/articles/github-integration

我想知道我是否可以从包含git子模块的github项目进行部署?

如果是这样,在我的项目中运行下面的子模块命令的其他步骤是什么?

script.sh

1 个答案:

答案 0 :(得分:1)

似乎我已经找到了我的问题的答案,不幸的是,似乎无法实现我想要的,即部署使用子模块的github仓库......

引用Heroku官方文档(https://devcenter.heroku.com/articles/github-integration#git-submodules):

  

使用子模块的GitHub repos通常无法正确部署   在Heroku上。这是因为GitHub不包含子模块内容   当生成repo-content tarball时。

相关问题