Grunt plugin for Shipit automation and deployment tool.
Grunt plugin for Shipit, an automation engine and a deployment tool written for node / iojs.
If you prefer using Shipit without grunt, please go to Shipit repository.
This plugin requires Grunt
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-shipit --save-dev
gruntinitConfigshipit:options:workspace: '/tmp/github-monitor'deployTo: '/tmp/deploy_to'repositoryUrl: ''ignores: '.git' 'node_modules'keepReleases: 2key: '/path/to/key'shallowClone: truestaging:servers: 'email@example.com';gruntloadNpmTasks'grunt-shipit';gruntloadNpmTasks'shipit-deploy';gruntregisterTask'pwd'gruntshipitremote'pwd' thisasync;;;
For more documentation about Shipit commands please refer to Shipit repository.
For more documentation about Shipit deploy task, please refer to Shipit deploy repository.
Now all methods returns promises, you can still use callback but the result has changed.
shipitremote'echo "hello"'console.logstdout stderr;;
shipitremote'echo "hello"'console.logresstdout resstderr;;
The deployment task is now separated from Shipit. You must install it and load it separately:
npm install shipit-deploy