Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 602 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 602 Bytes

jekyll-s3-upload

Example Usage

Here's an example of usage (excerpted from a Jekyll _config.yml):

jekyll-s3-upload:
  build_before: true
  reduced_redundancy_storage: true
  prefix_path: 'blog'
  routing_rules_path: 'config/routing_rules.yml'
  website_redirect_config_path: 'config/website_redirects.yml'
  index_path: 'index.html'
  error_path: 'blog/404.html'
  validate_upload:
    - ValidateVersionIsNotSnapshot
  headers:
    "assets/*":
      cache_control: 'public, max-age=2592000' # 30.days.seconds
    "*":
      cache_control: 'public, max-age=300' # 5.minutes.seconds