generate static sites directly from a git commit and deploy them to an S3 bucket