Skip to content

sofarsounds/heroku-buildpack-git-branch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

heroku-buildpacks-git-branch

Exports the branch name to an env variable that application code can access.

Usage

To use this buildpack, the app should already be successfully running the multi buildpack.

Then just add this buildpack in addition to the existing buildpacks in the .buildpacks file:

https://github.com/sofarsounds/heroku-buildpack-git-branch.git

The git sha will be available to application code via the env var GIT_SHA.

License

MIT

About

Place the currently deployed branch into env variable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages