code: function aws() {
    var publisher = !!CONFIG.aws ? $.awspublish.create(CONFIG.aws) : $.awspublish.create();
    var headers = {
      'Cache-Control': 'max-age=315360000, no-transform, public'
    };
  
    return gulp.src('./dist/assets/img/*')
      // publisher will add Content-Length, Content-Type and headers specified above
      // If not specified it will set x-amz-acl to public-read by default
      .pipe(publisher.publish(headers))
  
      // create a cache file to speed up consecutive uploads
      //.pipe(publisher.cache())
  
      // print upload updates to console
      .pipe($.awspublish.reporter());
  }
docs: Post images to AWS S3 so they are accessible to Litmus and manual test