GitHub Actions for Hugo ⚡️ Setup Hugo quickly and build your site fast. Hugo extended, Hugo Modules, Linux (Ubuntu), macOS, and Windows are supported.
.github | ||
images | ||
Dockerfile | ||
LICENSE | ||
README.md |
GitHub Actions for Hugo
This action runs the following commands.
Getting started
Create main.workflow
workflow "Main workflow" {
on = "push"
resolves = ["hugo"]
}
action "hugo" {
uses = "peaceiris/actions-hugo@v0.55.6"
args = ["--gc", "--minify", "--cleanDestinationDir"]
}
License
MIT License - peaceiris/actions-hugo