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
00384e9e25 | ||
---|---|---|
.github | ||
images | ||
.dockerignore | ||
Dockerfile | ||
LICENSE | ||
README.md |
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