zhevron / gulp-deploy-git

Deploy Gulp builds automatically to a Git repository.
https://www.npmjs.org/package/gulp-deploy-git
MIT License
26 stars 6 forks source link

Deployment fails with multiple targets #4

Closed zhevron closed 8 years ago

zhevron commented 8 years ago

When using multiple targets, the deployment process commits an empty repository back to the deployment environment. Likely due to the deployed files not being properly passed to the chained targets.

zhevron commented 8 years ago

Adding this.push(file) to the through function should be able to resolve this.