Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing always without showing error msg #137

Open
ajaykumar96 opened this issue Dec 21, 2016 · 0 comments
Open

Failing always without showing error msg #137

ajaykumar96 opened this issue Dec 21, 2016 · 0 comments

Comments

@ajaykumar96
Copy link

ajaykumar96 commented Dec 21, 2016

I am new to gulp, I have done some changes to code. But the code is not working . It is not showing any error msg too.Can anyone suggest any errors?
My code is:

var awspublish = require('gulp-awspublish');

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

// create a new publisher using S3 options
// http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#constructor-property
var publisher = awspublish.create({
region: 'ap-south-1',
params: {
Bucket: 'sample-project'
},
accessKeyId: '',
secretAccessKey: '
***************'
});

return gulp.src('./index.html')
// gzip, Set Content-Encoding headers and add .gz extension
.pipe(awspublish.gzip({ ext: '.gz' }))

 // print upload updates to console 
.pipe(awspublish.reporter());

});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant