Stop complicating it; just check in the generated files and deploy as static site