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

    booleanoptional

    Include content marked as draft.

    Default: false

  • buildExpired

    booleanoptional

    Include expired content.

    Default: false

  • buildFuture

    booleanoptional

    include content with publishdate in the future.

    Default: false

  • config

    stringoptional

    The path to the config file.

    Default: path/config.yaml|json|toml

  • content

    stringoptional

    The path to the content directory.

    Default: none

  • layout

    stringoptional

    The path to the layout directory.

    Default: none

  • output

    stringoptional

    The path to the output directory.

    Default: none

  • source

    stringoptional

    The path to read files relative from.

    Default: none

  • theme

    stringoptional

    theme to use (located in /themes/THEMENAME/).

    Default: none

  • url

    stringoptional

    hostname (and path) to the root.

    Default: none

  • validate

    booleanoptional

    Validate config file before generation.

    Default: false