Run jekyll-s3 to deploy your site to S3 and invalidate the Cloudfront
distribution

The headless mode

Jekyll-s3 has a headless mode, where human interactions are disabled.

In the headless mode, jekyll-s3 will automatically delete the files on the S3
bucket that are not on your local computer.

Enable the headless mode by adding the --headless or -h argument after
jekyll-s3.

Known issues

Only S3 buckets in the US Standard region work

Jekyll-s3 supports only S3 buckets that are in the US Standard region. If your
bucket is currently on some other region, you can set a non-existing bucket in
_jekyll_s3.yml and then run configure-s3-website --config-file _jekyll_s3.yml. This creates you a bucket in the US Standard region.

Tests

Contributing

We (users and developers of Jekyll-s3) welcome patches, pull requests and
ideas for improvement.

When sending pull requests, please accompany them with tests. Favor BDD style
in test descriptions. Use VCR-backed integration tests where possible. For
reference, you can look at the existing Jekyll-s3 tests.

If you are not sure how to test your pull request, you can ask the main
developer (currently Lauri Lehmijoki) to supplement the request with tests.
However, by including proper tests, you increase the chances of your pull
request being incorporated into future releases.