This tutorial is to teach you how to make youre own hugo-generated static site served by Github Pages, within a single repo. Prerequisites Github & CircleCI account Newly-generated SSH key pair for safety reasons(see here) Hugo installed locally Dive in Generate site source with hugo command: hugo new site <SITE_NAME> Create a repo for your site: <SITE_NAME>.github.io(Be aware: this tutorial uses User/Organization Pages rather than Project Pages, see here), clone it, and create a new branch called source(whatever you like):
Befor you continue 1. Get a VPS from Linode/Vultr/whatever 2. Pick a linux distribution and make it running(I use CentOS 7). 3. Install Apache/MySQL/PHP 7.1 Get yourself a non-root sudo user adduser USERNAME passwd USERNAME usermod -aG wheel USERNAME su USERNAME Install and configure Apache Check this out First install it. sudo yum update sudo yum -y install httpd sudo systemctl enable httpd.service Then create directory structure.