Skip to content

dhcole/litehook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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]/*"
		}
	]
}

About

Static hosting for github and jekyll

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published