I build my website with this code. It uses Jekyll and Minimal Mistakes (both offer MIT Licenses), and I deploy it on AWS S3 using s3_website. All my original content is copyrighted — but mostly I only care about anything that rhymes.
After adding fork of s3_website to Gemfile
bundle install
bundle exec jekyll serve
JEKYLL_ENV="production" bundle exec jekyll build
bundle exec s3_website push --dry-run
bundle exec s3_website push