diff --git a/Gruntfile.js b/Gruntfile.js index 1c9637a..ec5e3f4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,4 +1,4 @@ -module.exports = function(grunt) { +module.exports = function (grunt) { const sass = require('node-sass') require('load-grunt-tasks')(grunt, { pattern: ['grunt-*', 'assemble'] }) require('time-grunt')(grunt) @@ -225,10 +225,12 @@ module.exports = function(grunt) { bucket: '<%= config.s3.bucket %>', region: '<%= config.s3.region %>', overwrite: '<%= config.s3.overwrite %>', + access: '<%= config.s3.access %>' }, build: { cwd: path.images_src, src: '**', + dest: "<%= config.s3.dest %>" }, }, diff --git a/example_config.json b/example_config.json index 1b5a688..7a445de 100644 --- a/example_config.json +++ b/example_config.json @@ -42,6 +42,8 @@ "s3": { "bucket": "", "region": "", + "dest": "/", + "access": "public-read", "overwrite": true } -} +} \ No newline at end of file