Drone plugins > Hugo
Hugo
by cbrgm
The Hugo plugin automatically generates static web page files, which can be published afterwards!
Example
kind: pipeline
name: default
steps:
- name: build
image: plugins/hugo
settings:
hugo_version: 0.55
validate: true
Properties
buildDrafts
booleanoptionalInclude content marked as draft.
Default: false
buildExpired
booleanoptionalInclude expired content.
Default: false
buildFuture
booleanoptionalinclude content with publishdate in the future.
Default: false
config
stringoptionalThe path to the config file.
Default: path/config.yaml|json|toml
content
stringoptionalThe path to the content directory.
Default: none
layout
stringoptionalThe path to the layout directory.
Default: none
output
stringoptionalThe path to the output directory.
Default: none
source
stringoptionalThe path to read files relative from.
Default: none
theme
stringoptionaltheme to use (located in /themes/THEMENAME/).
Default: none
url
stringoptionalhostname (and path) to the root.
Default: none
validate
booleanoptionalValidate config file before generation.
Default: false