-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add config option to ignore certain files #31
Comments
I would love to have jekyll-s3 ignore the dreaded |
It's already possible to define a regex for ignored files: https://github.com/laurilehmijoki/jekyll-s3#ignoring-files-you-want-to-keep-on-aws. Does that feature solve your problem? |
Is there any way to define the opposite: Files I want to keep on my local machine, but not on S3? |
Currently there is no such way. A regex |
Is this the work of Jekyll itself and not Jekyll-s3. Exclude whatever you want to in your Jekyll config. Everything there will be local but won't be in your "_site" which is what Jekyll-S3 delivers to your S3. |
Good point @brajeshwar. In deed with the exclude setting of Jekyll you can control the files that end up in the _site directory. |
I have another system that frequently pushes JSON data files to the same S3 bucket that's hosting my jekyll website. My jekyll website makes AJAX calls to retrieve this data.
I have local sample versions of these JSON data files on my machine (for testing), but every time I run jekyll-s3, my local files get uploaded and replace the production ones. If I could somehow define a set of ignored files in _jekyll_s3.yml, it would be a huge help.
The text was updated successfully, but these errors were encountered: