0.2.1 • Published 7 years ago

grunt-heroku v0.2.1

Weekly downloads
2
License
-
Repository
github
Last release
7 years ago

grunt-heroku

Heroku commands for Grunt

Getting Started

This plugin requires Grunt ~0.4.0.

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-git --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-heroku');

The hrun Task

Run a command on Heroku.

Run Options

  • cmd: The command to run on Heroku
  • args: The arguments to pass to cmd (optional)
grunt.initConfig({
  hrun: {
    your_target: {
      cmd: 'command',
      args: ['arg1', 'arg2']
    }
  }
});

The hdeploy Task

Use git to deploy your app to Heroku.

Deploy Options

  • remote: The remote to push to. (optional, default: heroku)
  • branch: Which branch to push. (optional, defualt: master)
grunt.initConfig({
  hdeploy: {
    staging: {
      remote: 'staging',
      branch: 'master'
    },
    production: {}
  }
});
0.2.1

7 years ago

0.2.0

10 years ago

0.1.7

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago