Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Static hosting for github and jekyll
Shell Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
hook.rb
readme.md
run.sh

readme.md

What it does

  • Uses a Ruby / Sinatra server to receive web hook posts from GitHub
  • Pulls and generates Jekyll or static sites with git / Jekyll
  • Pushes content to S3 bucket with s3cmd

TODO

  • install script
  • automatically configure buckets
  • finish email setup

Bucket configuration

  • enable website config, index.html, 404.html
  • add the following bucket policy
{
    "Version": "2008-10-17",
    "Statement": [
        {
            "Sid": "PublicReadForGetBucketObjects",
            "Effect": "Allow",
            "Principal": {
                "AWS": "*"
            },
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::[bucketname]/*"
        }
    ]
}
Something went wrong with that request. Please try again.