grunt-shark-deploy-git
Used to deploy to git
Example:
module.exports = function(grunt) { // load all tasks require('load-grunt-tasks')(grunt); grunt.initConfig({ deployGit: { options: { }, // webapp webapp: { options: { build: 'build/app/', deploy: '/Users/hero/git/shark-deploy-deploy/webapp/test/', repo: 'git://herodemacbook-pro.local/test/shark-deploy.git' } }, // statics static: { options: { // resources path build: 'build/static/', // repo path deploy: '/Users/hero/git/shark-deploy-deploy/static/test/', // git repo repo: 'git://herodemacbook-pro.local/test/shark-deploy-statics.git' } } } }); grunt.loadTasks('tasks'); grunt.registerTask('default', ['deployGit:webapp:rc']); grunt.registerTask('deploy', '', function(target, branch) { grunt.task.run([ 'deployGit:webapp:' + branch, 'deployGit:static:' + branch ]); })}; ## 0.1.0support git