gulp-aws-s3-upload
install
npm install gulp-aws-s3-upload -S
Configurable gulp task for uploading to aws-s3 bucket
USAGE
const gulp = ;const gulpGzip = ;const gulpFilter = ;const gulpAwsS3Upload = ; gulp;
options
options.onlyNew
Default: false
if true uploader will upload only new files (use cache)
options.public
Default: true
uploader additionally set header 'x-amz-acl': 'public-read'
options.cacheFile
Default: null
file path for caching file
options.cacheByFileName
Default: false
mode for cache
options.aws
Default: {}
- required
credentials for s3 bucket.
- key: '...',
- secret: '...',
- bucket: '...',
- region: '...',
options.uploadPath
Default: ''
options.headers
Default: {}