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

Multiple buckets & disable defaults #23

Open
bradherman opened this issue Aug 5, 2011 · 1 comment
Open

Multiple buckets & disable defaults #23

bradherman opened this issue Aug 5, 2011 · 1 comment

Comments

@bradherman
Copy link

I'd like to be able to upload to multiple buckets when running jammit. ie:

s3_bucket: bucket1
s3_upload_files:

  • public/images/**

s3_bucket: bucket2
s3_upload_images:

  • public/css/**

It seems that the gem ignores the first bucket and just uploads everything based on the second s3_bucket specification.

In addition, I'd like to disable the automatic syncing of public/images/* but it looks like even with s3_upload_files set, it still pulls the assets/* and images/** folders into s3. Is there a way to disable this?

@bradherman
Copy link
Author

Since I'm doing this within a rake task, a simple workaround is to just run:

system "jammit-s3 -c bucket1.yml"
system "jammit-s3 -c bucket2.yml"

However, the default of uploading assets/* and images/* is still duplicating them each in both buckets.

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