Adds support for GIT submodules to pipelines triggered through integrations (such as GitHub sync).
The only buildpack that
doesn't attempt to parse .gitsubmodules
file manually and uses
Git instead unfortunately supports only SSH transfer. While this is the go-to way
of working with repositories locally, for CI a simple generated GitHub token passed in
an HTTPS request is usually simpler and preferable.
This buildpack takes a minimalistic approach and simply replaces SSH urls in the gitsubmodules
with HTTPS urls including the Git token stored as provided through GIT_TOKEN
environment variable.
Add the buildpack to your app in Heroku pipeline and ensure it gets executed prior any stack specific buildpack (such as Node.js buildpack).