Why don't git submodules work with Heroku Pipelines, Review apps or GitHub Sync?


Apps containing git submodules do not deploy correctly when using GitHub based deploy methods.


Unfortunately GitHub repos that use submodules will generally not deploy correctly on Heroku. This is because GitHub does not include submodule contents when repo-content tarballs are generated.

For more information, please view our Dev Center article here:

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support