GitHub Actions for Hugo ⚡️ Setup Hugo quickly and build your site fast. Hugo extended, Hugo Modules, Linux (Ubuntu), macOS, and Windows are supported.
https://github.com/marketplace/actions/hugo-setup
| .github | ||
| images | ||
| .dockerignore | ||
| 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
