Build and Publish Your Hugo Site to GitHub Pages
If you’re looking to streamline your Hugo site deployment process, this action is an impressive solution that leverages the latest Hugo Extended and GitHub Pages integration. By automating the build and push workflow, it takes away the tediousness of manual uploads, allowing you to focus on crafting content rather than getting bogged down in the technical nitty-gritty.
What sets this action apart is its extensive support for a variety of external Hugo helpers that enhance your site’s capabilities. Its simplistic setup through a workflow.yml file makes it accessible for both beginners and seasoned developers. This action is not only flexible but also ready to adapt to your needs with the potential for external helper integration.
Supports External Helpers: Compatible with reStructuredText, Pandoc, Asciidoctor, PostCSS, Pygments, Babel, and Hugo Modules to enrich your Hugo site’s functionality.
Docker-based: Utilizes the Docker image from chabad360/hugo-actions for reliable performance and easy maintenance.
Custom Domain Configuration: Allows setting a custom domain name for your GitHub Pages site with an option to specify it in the workflow.
Branch Customization: Gives you the option to select which branch to push the built site to, providing flexibility to your Git workflow.
Version Control: Lets you specify the Hugo version, including the extended version, ensuring your site is built with the exact requirements you need.
Pre/Post-build Steps: Offers capabilities for additional processing steps before or after the site build, enhancing the workflow for complex projects.
User-friendly Inputs: The setup includes clear input requirements, making it easy to configure and utilize even for those new to GitHub Actions.