gulp-heroku-deploy-slug

0.1.0 • Public • Published

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.

Package Sidebar

Install

npm i gulp-heroku-deploy-slug

Weekly Downloads

2

Version

0.1.0

License

ISC

Last publish

Collaborators

  • matthewwithanm