The idea of migrating my website from a custom workflow to GitHub Pages was born after setting up a knowledge base I always wanted to be able to collect my knowledge in a central place. Since I really like Hugo, I had a look if I can find a good theme that works well as a knowledge base. I came across Geekdoc that looked really promising. I created a fork of it to be able to make some own adjustments and added it as a git submodule to my main GitHub repository for the knowledge base. This theme is heavily relying on NodeJS, so I had to add the following to my Hugo GitHub Action workflow for publishing it.
- name: Build theme
run: |
cd themes/hugo-geekdoc
npm install
npm run build