Closed Fanaen closed 8 years ago
My bad, documentation forgot the { read: false }
argument to gulp.src
The correct task should be:
var gulp = require('gulp');
var deploy = require('gulp-deploy-git');
gulp.task('deploy', function() {
return gulp.src('dist/**/*', { read: false })
.pipe(deploy({
repository: 'http://gitlab.example.com:20000/username/gdg-test.git',
verbose: true,
debug: true
}));
});
This solves the issue. Thanks for the quick answer!
When using
gulp-deploy-git
with the default task desploy, anError: Buffers are not supported
occured in the gulp workflow. I'm trying to run the tool in the following environment:The corresponding gulpfile.js:
And the result:
Is that the error mentionned in the README?