Created
May 17, 2016 22:29
-
-
Save mtt87/31d3e696984f4e9308e19f9f5bf1e0d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('publish', function() { | |
return gulp.src('dist/**/*.*') | |
.pipe(revAll.revision()) | |
.pipe($.awspublish.gzip()) | |
.pipe(publisher.publish(headers)) | |
.pipe(publisher.cache()) | |
.pipe($.awspublish.reporter()) | |
.pipe($.cloudfront(awsConfig)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment