gulp-heroku-deploy-slug
v0.1.0
Published
Deploy slug archives to Heroku
Downloads
3
Maintainers
Readme
gulp-heroku-deploy-slug
gulp-heroku-deploy-slug is a gulp plugin for deploying slug archives to Heroku.
Usage
Just pipe your slug in!
var deploySlug = require('gulp-heroku-deploy-slug');
gulp.src('./path/to/slug.tar.gz') // Or get it some other way
.pipe(deploySlug({
app: 'myherokuapp',
slug: {
process_types: {
web: 'node-v0.10.20-linux-x64/bin/node web.js'
}
}
}));
Like with the Heroku command line tools, your credentials are read from your
~/.netrc
.
Options
| Name | Description |
|------|------------------------------------------------------------------------------------------------------------------------------------------------|
| app | The name of your Heroku app |
| slug | A hash of parameters used to create the slug. The only required parameter is process_types
. See Heroku's Platform API for more details. |