grunt-s3 icon indicating copy to clipboard operation
grunt-s3 copied to clipboard

Doesn't do anything

Open nitinhayaran opened this issue 10 years ago • 6 comments

When I try to run s3 task, along with other tasks, It doesn't do anything.

$ grunt
Running "s3:prod" (s3) task

Done, without errors.

But if I run this task by specifically mentioning task name, it runs perfectly fine.

$ grunt s3:prod
Running "s3:prod" (s3) task
>> → File Exists, skipped: dist/img/42458215.user.png
>> → File Exists, skipped: dist/img/375d5fe6.horizontal-loader.gif
>> → File Exists, skipped: dist/img/565bf295.no-thumb.jpg
>> → File Exists, skipped: dist/img/72e54712.hotels.png
>> → File Exists, skipped: dist/img/cad7490a.setting.png
>> → File Exists, skipped: dist/img/b639a587.accept.png
>> → File Exists, skipped: dist/img/ed2654aa.pixel.png
>> → File Exists, skipped: dist/img/d33d6e42.copy.png

Done, without errors.

nitinhayaran avatar Feb 26 '14 08:02 nitinhayaran

My current configuration are

s3: {
    options: {
        key: '<%= aws.key %>',
        secret: '<%= aws.secret %>',
        bucket: '<%= aws.bucket %>',
        access: 'public-read',
        region: 'ap-southeast-1'
    },
    prod: {
        // These options override the defaults
        options: {
            maxOperations: 10
        },
        // Files to be uploaded.
        sync: [{
            src: 'dist/**/*.*',
            dest: 'static/',
            rel: 'dist',

            options: {
                gzip: true,
                gzipExclude: ['.jpg', '.jpeg', '.png', '.gif', '.woff', '.wav', '.webp']
            }
        }]
    }

}

and default grunt task is

grunt.registerTask('default', [
    'clean:dist',
    'less:build',
    'cssmin',
    'uglify',
    'copy:dist',
    'copy:template',
    'requirejs:dist',
    'useminPrepare',
    'rev',
    'usemin',
    'cdn',
    'clean:minified',
    's3:prod'
]);

nitinhayaran avatar Feb 26 '14 09:02 nitinhayaran

Same boat over here, I'm already trying a couple options. I'll let you know if something comes up.

0xjjpa avatar Feb 26 '14 14:02 0xjjpa

Confirmed, same with me.

silvenon avatar Mar 16 '14 14:03 silvenon

Yup, does nothing here too

mattpage avatar Mar 28 '14 16:03 mattpage

run grunt s3 -v to see if module is able to select any file.

innermond avatar Aug 27 '14 09:08 innermond

its not picking up any files as well. I tried absolute/relate/yeoman paths nothing seems to work

sreevisakh avatar Aug 23 '15 04:08 sreevisakh