1.5.2 • Published 9 years ago

gulp-git-deploy v1.5.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

gulp-git-deploy

CirlceCI:Circle CI DroneIO:Build Status BadgeFuryIO:npm version

Usage

Install

npm install gulp-git-deploy --save

Example

var gulp = require('gulp');
var gitDeploy = require('gulp-git-deploy');


gulp.task('build', function(){
 //your build stuff.
})

gulp.task('deploy',function(){

  return gitDeploy({remote: 'origin', name: 'master'}, function(){
    //put here whatever you want to do after merging, usually a build task.
    gulp.start('build')
  });

})

Options

remote

Set the git remote

Type: string

Default:'origin'

name

Set the branch name

Type: string

Default: 'master'

reset

Reset head position(discards any change to your branch).

Type: boolean

Default: true

1.5.2

9 years ago

1.5.1

9 years ago

1.5.0

9 years ago

1.4.1

9 years ago

1.4.0

9 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago