This package has been deprecated
Author message:
grunt-shipit is not maintained anymore.
shipit-git-update
0.1.4 • Public • Published shipit-git-update
This shipit task connects to a remote server and pulls updates to a specific Git branch.
Install
npm install shipit-git-update
Usage
With shipit-cli
Example shipitfile.js:
module.exports = function (shipit) {
'use strict';
require('shipit-git-update')(shipit);
shipit.initConfig({
staging: {
deployTo: '/path/to/working/copy/',
branch: 'master',
servers: 'user@example.com',
postUpdateCmd: 'foobar'
}
});
};
Then run:
With grunt
Example Gruntfile.js:
module.exports = function (grunt) {
'use strict';
grunt.loadNpmTasks('grunt-shipit');
grunt.loadNpmTasks('shipit-git-update');
grunt.initConfig({
shipit: {
staging: {
deployTo: '/path/to/working/copy/',
branch: 'master',
servers: 'user@example.com',
postUpdateCmd: 'foobar'
}
}
});
};
Then run:
grunt shipit:staging update
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads