Build Hugo screenshot

Build Hugo

Author Avatar Theme by Lowply
Updated: 12 Jan 2026
36 Stars

A GitHub Action to build Hugo site.

Overview

Build Hugo is an efficient GitHub Action designed specifically for building Hugo sites. With its foundation on the extended version of Hugo 0.154.5, it allows developers to streamline their workflow for creating static websites quickly and effectively. This action is particularly useful for those who rely on the latest features and improvements found in Hugo.

One notable aspect of this GitHub Action is its reliance on the debian:bookworm-slim base image, ensuring that users have a lightweight and modern environment for their builds. However, recent changes have affected older Debian releases, prompting users to adapt to the latest versions for optimal performance.

Features

  • Hugo Extended Version 0.154.5: Utilizes the latest extended version of Hugo, providing access to advanced features for building static sites.

  • Debian:bookworm-slim Base Image: Based on the modern and efficient debian:bookworm-slim, ensuring a lightweight build environment.

  • Versioning Alignment: The Build Hugo version aligns with Hugo’s releases, allowing users to specify versions as needed for consistent site builds.

  • Compatibility Warning: Users are alerted to the breaking changes with debian:buster-slim, prompting them to upgrade to version 0.148.1 or later for compatibility.

  • Local Running Capability: Offers the ability to run the action locally, giving developers flexibility in testing and development stages before pushing updates.

  • PR Creation for Updates: Simplifies the process for contributors to create pull requests for the latest version, facilitating community involvement and project maintenance.