- gohugoio/hugo: The world’s fastest framework for building websites.
- raviqqe/muffet: Fast website link checker in Go
This action runs the following commands.
hugo server ${HUGO_OPTIONS} &
# wait for starting hugo server (time out 5 min)
muffet ${OPTIONS} http://localhost:1313
workflow "Main workflow" {
on = "push"
resolves = ["hugo-link-check"]
}
action "hugo-link-check" {
uses = "peaceiris/actions-hugo-link-check@v0.56.3"
env = {
HUGO_OPTIONS = "--buildDrafts"
OPTIONS = "-e 'http://localhost:8000'"
}
}