I caught Ben Bradshaw's Pizza Thursday talk on How to turn Gitlab into a '90s web host and decided I should get around to doing this.
Here's how I set this up:
- Cloned the example Hugo Gitlab Pages repo to a local folder
- Blew away and re-inited the git repo in that folder
- Created a new personal repo on the internal Gitlab
- Messed around with this repo until I was happy
- Added the personal repo as the remote origin
- Pushed my code and watched the CI task build
- Via the repo sidebar, I found the Pages URL
- Updated config.toml to reflect the base URL