0.1.9 • Published 7 years ago

shark-deploy-git v0.1.9

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

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.0
support git
0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago