Skip to content

Heroku buildpack for GIT submodules support in integrations deployment using HTTPS

License

Notifications You must be signed in to change notification settings

salsita/heroku-buildpack-submodules-https

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Heroku submodules buildpack

Adds support for GIT submodules to pipelines triggered through integrations (such as GitHub sync).

Why another buildpack?

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.

How does it work

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.

Installation

Add the buildpack to your app in Heroku pipeline and ensure it gets executed prior any stack specific buildpack (such as Node.js buildpack).

About

Heroku buildpack for GIT submodules support in integrations deployment using HTTPS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages