As promised, I have a full write up:
For those who don’t want to read the whole thing, I show the table of contents, which make a nice outline of the steps involved:
- Preface
- Moving the large files out of the module
- Create a new Hugo module repo with the site
- Use a subdirectory of the module as a ‘site’
- Create a build script for use with Netlify
- Deploy on Netlify
- Set your GitHub branch protection rules to require successful deploy
- Remember to
git rebasenotgit mergeorgit pullany existing branches - Conclusion
I hope this can be of use to others.