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 | ||
.dockerignore | ||
Dockerfile | ||
LICENSE | ||
README.md |
GitHub Actions for Hugo extended
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