I started by dogfooding1 my template repository. It allows me to use
terraform to manage GitHub repository declaratively. If you're not familiar with "Infrastructure as Code" I highly recommend giving it a try, the declarative approach to configuration management and resource provisioning makes repetitive tasks so much easier. Also, it already has
After I initialized my blog with terraform and configured git to use created repo as a
remote. I am ready to create new Hugo site.
Create empty Hugo site
$ hugo new site blog
pre-committo validate and format