nitaigao/gulp-s3

File is always null

Shark-Laser opened this issue · 1 comments

Hi I'm not sure what I'm doing wrong here. The file is showing null.
var s3_creds = {
"key": "xxxxxxxxx",
"secret": "xxxxxxxxxxx",
"bucket": "sample",
"region": "ireland"
};

/* upload the dist files */
gulp.task('deploy_s3', function(){
var options = { gzippedOnly: true };

return gulp.src('app/builds/index.html', {read: false})
.pipe(gzip({append: true}))
.pipe(s3(s3_creds, options));
});

Try read: true