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

Any way to not delete existing S3 bucket redirections? #143

Open
ricardclau opened this issue Mar 29, 2017 · 2 comments
Open

Any way to not delete existing S3 bucket redirections? #143

ricardclau opened this issue Mar 29, 2017 · 2 comments

Comments

@ricardclau
Copy link

ricardclau commented Mar 29, 2017

Hi

We are using this gem to deploy our static site to s3
Due to historical reasons, we need to have some redirections in the s3 bucket and every time we deploy they are deleted and need to be (at the moment) manually added. Is there any way to prevent that?

Or if this is not the case, how would we define them in the config or rb files? Is there any extra gem for that?

I could not find much documentation about it, so if you could please point us out to it, this would be greatly appreciated

Thanks!

EDIT: I noticed in the changelog that this was added back in 3.0.14, however we are using 4.0.3 and redirections are deleted

@ricardclau ricardclau changed the title Any way to not delete S3 redirections? Any way to not delete existing S3 bucket redirections? Mar 29, 2017
@ricardclau
Copy link
Author

Ping @fredjean

Any guidance here would be very much appreciated

@fredjean
Copy link
Owner

fredjean commented Jun 3, 2017

My apologies on the delay. I have a new employer and I am figuring out what it means OSS wise.

There used to be code that would check whether a missing local resource was a redirect and ignore it. I'll check to make sure that it is still there.

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

2 participants