GitHub Actions for Hugo Setup Hugo quickly and build your site fast. Hugo extended, Hugo Modules, Linux (Ubuntu), macOS, and Windows are supported.
GitHub Actions for Hugo is a project that provides an action for installing Hugo, a popular static site generator, in a virtual machine on GitHub Actions. This action supports Hugo extended version, Hugo Modules, and is compatible with Linux (Ubuntu), macOS, and Windows. It has recently migrated to a JavaScript (TypeScript) action, eliminating the need to build or pull a Hugo docker image. This change has significantly improved the execution time of the action. The project is actively developed and has reached a stable state.
To install the GitHub Actions for Hugo, you can follow these steps:
.github/workflows
directory. For example, .github/workflows/gh-pages.yml
.GitHub Actions for Hugo is a project that provides an action for installing Hugo in a virtual machine on GitHub Actions. It supports multiple operating systems and enables users to leverage the features of Hugo extended version and Hugo Modules. The recent migration to a JavaScript (TypeScript) action has drastically improved the execution time of the action. With easy installation and extensive documentation, this project is a valuable asset for Hugo users on GitHub Actions.