This post documents the process of building the official website for OPFORGE, a cybersecurity lab project focused on detection engineering, threat emulation, and explainable AI.
π§ Tooling Stack
- Hugo β Static site generator (v0.147.1)
- PaperMod β Lightweight, responsive Hugo theme
- GitHub Pages β CI/CD-backed static hosting
- Cloudflare DNS β Domain and HTTPS management
- Custom Domain β
https://opforge.dev
π§± Build Process
- Created site:
hugo new site opforge-site --format yaml
- Installed theme:
git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod
Configured
hugo.yaml
with menus, theme, and metadataCreated first post and tested site locally:
hugo server
- Set up GitHub Actions for CI/CD:
- peaceiris/actions-hugo@v2 for building
- peaceiris/actions-gh-pages@v3 for deployment
- Set baseURL for GitHub Pages:
baseURL: "https://ATHL337.github.io/opforge-site/"
Set GitHub Pages source branch to gh-pages in repository settings
Updated DNS via Cloudflare:
- A records for root domain pointing to GitHub Pages IPs
- CNAME for www pointing to ATHL337.github.io
- HTTPS enforced
π Outcome
With minimal effort and a clean Hugo theme, the OPFORGE site is:
- Easy to write and publish to
- Fully version-controlled
- Built for scaling into documentation, blog posts, and operator guides
π§ Lessons Learned
- Always configure baseURL properly for Hugo builds
- Donβt push the
public/
directoryβlet CI/CD handle it - GitHub Actions + Hugo + Cloudflare = elegant, scalable, and secure
More blog posts coming soon on the build-out of the lab, including SOF-ELK setup, Winlogbeat JSON export, and ingestion pipelines.