Skip to content

Allows heroku buildpack to include private ssh repositories.

Notifications You must be signed in to change notification settings

oliverSI/heroku-private-buildpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This supports loading a build pack from a private git repository.

It hooks in only to the release and compile api.

To use:-

  1. Add this to heroku as a buildpack

    heroku buildpacks:set heroku/ruby

  2. Add a file in the project root .heroku-private-build.yml with the following shape:-

    { buildpacks: [ { uri: '[email protected]:user/private-repor' }] }

  3. Add the base64 enocded deploy key to the BUILDPACK_SSH_KEY env variable

    heroku config:set BUILDPACK_SSH_KEY=$(cat path/to/your/keys/id_rsa | base64)

Then push to heroku.

heroku-private-buildpack

About

Allows heroku buildpack to include private ssh repositories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%