Skip to content

magfest/heroku-buildpack-subdir

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Heroku Buildpack Subdir

Allows you to compose multiple buildpacks with apps in multiple directories. For information regarding adding multiple buildpacks, check out the official docs here.

This buildpack must be at index 1 and all buildpacks following should be at index 2 through N.

Usage

$ heroku buildpacks:set https://github.com/negativetwelve/heroku-buildpack-subdir

Example .buildpacks file:

$ cat .buildpacks
api=https://github.com/heroku/heroku-buildpack-ruby.git
web=https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/heroku/heroku-buildpack-go

This would run:

  • The first buildpack would cd into an api directory and use a ruby buildpack.
  • The second would cd into a web directory and use a node.js buildpack.
  • The third would be in the root directory and use a go buildpack.

License

MIT

About

Deploy apps from subdirectories to Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%