The Radius blog is a place to share the latest news, updates, features, customer stories, and more about the Radius project. This repository contains the markdown files which generate the Radius blog site at https://blog.radapp.io/. Head over there to read the blog and learn more about the latest Radius news! Read on to get up and running with a local environment to contribute to the blog.
The Radius blog is built using Hugo with the Docsy theme and published to GitHub Pages.
The Hugo project lives at the repository root. Post sources and images are in content/posts, and theme overrides are in layouts and assets.
- Node.js as specified in
.node-version - Go as specified in
go.mod, for Hugo Modules
Clone the repository and run npm ci from its root. The npm dependencies include Hugo Extended. Hugo fetches the Docsy theme via Hugo Modules on the first build; no Git submodules are required.
- From the repository root, run
npm run start:drafts(ornpm run startto exclude drafts). - Navigate to http://localhost:1313/ to see the posts list. It is also available at
/posts/.
Follow the Contribution Guide for more details on writing and formatting blog posts.
Run npm run build from the repository root to generate the site in Hugo's default public/ directory. This output is ignored by Git.
The Publish workflow runs on pushes to main, daily at 16:00 UTC, and when run manually on main. It builds the site once, uploads only public/ as a Pages artifact, and deploys that artifact without rebuilding. Pull requests produce a downloadable preview instead of deploying.
In Settings > Pages, use GitHub Actions as the publishing source and leave Custom domain empty to preview at https://radius-project.github.io/blog/ after the first successful deployment.
When ready to cut over, set blog.radapp.io as the Pages custom domain, point its DNS CNAME to radius-project.github.io, and rerun the workflow on main to rebuild with the new URL. Verify HTTPS after the DNS change.