andrebossard.com

How to host a free website with Github, Hugo and Netlify CMS

Requirements

Steps

  1. Create a Github pages site, see docs
  2. Create another repository with an empty Hugo project, see here
  3. Create a github action to deploy this the empty hugo project to the github pages repository. Refer to this
  4. Oh yeah, don’t forget to create a secret with a token that allows pushing
  5. Deploy a fork of the netlify github auth server to heroku: repo
  6. Create a new github oauth application and add the entries to the heroku configuration
  7. Point the config.yml of the netlify cms to your heroku instance.
© 2020-06-15 14:18:59.010585476 +0000 UTC m=+0.029908441