Skip to content

Instantly share code, notes, and snippets.

@aaroneaton
Last active August 29, 2015 14:16
Show Gist options
  • Save aaroneaton/7f7df1077a42ab107b2f to your computer and use it in GitHub Desktop.
Save aaroneaton/7f7df1077a42ab107b2f to your computer and use it in GitHub Desktop.
aws
aws_s3: {
options: {
accessKeyId: '1234', // Use your own access key
secretAccessKey: 'abcd', // Use your own secret access key
region: 'US1', // Fill in your S3 region
uploadConcurrency: 5, // 5 simultaneous uploads
downloadConcurrency: 5, // 5 simultaneous downloads
params: {
CacheControl: '2592000'
}
},
myBucket: {
options: {
bucket: 'my-bucket' // Change this to your S3 bucket name
},
files: [
{
dest: 'plugins/my-cool-plugin.zip',
action: 'delete' // Let's delete the old version
},
{
src: 'dist/my-cool-plugin.zip', // The file to upload
dest: 'plugins', // destination folder on S3
expand: true,
flatten: true
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment