Last active
August 29, 2015 14:16
-
-
Save aaroneaton/7f7df1077a42ab107b2f to your computer and use it in GitHub Desktop.
aws
This file contains hidden or 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
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