Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not uploading files when using gzipRename #103

Open
leejt489 opened this issue Feb 24, 2016 · 0 comments
Open

Not uploading files when using gzipRename #103

leejt489 opened this issue Feb 24, 2016 · 0 comments

Comments

@leejt489
Copy link

I think gzipRename might be broken? The zipped files are not showing up in my bucket, though the output says that they were uploaded. Here is my config:

aws_s3: {
      options: {
        accessKeyId: '<%= aws.awsAccessKeyId %>', // Use the variables
        secretAccessKey: '<%= aws.awsSecretKey %>', // You can also use env variables
        region: 'us-west-2',
        uploadConcurrency: 5, // 5 simultaneous uploads
        downloadConcurrency: 5, // 5 simultaneous downloads
      },
      staging: {
        options: {
          bucket: 'stagingbucket',
          differential: true, // Only uploads/deletes the files that have changed,
          gzipRename: 'ext',
        },
        files: [
          { action: 'upload', src: '**', dest: '/', cwd: 'release', expand: 'true' },
          { action: 'delete', dest: '/', cwd: 'release', },
        ],
      },
      production: {
        options: {
          bucket: 'productionbucket.com',
        },
        files: [
          { action: 'upload', src: '**', dest: '/', cwd: 'release', expand: true, },
          { action: 'delete', dest: '/', cwd: 'release', },
        ],
      },
    },

If I run without the gzipRename the files are uploaded with the .js.gz extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant