22 lines
670 B
YAML
22 lines
670 B
YAML
name: 'Hugo build action'
|
|
description: 'GitHub Actions for Hugo extended and Hugo Modules'
|
|
author: 'peaceiris'
|
|
inputs:
|
|
hugo-version:
|
|
description: 'The Hugo version to download (if necessary) and use. Example: 0.58.2'
|
|
required: false
|
|
default: 'latest'
|
|
extended:
|
|
description: 'Download (if necessary) and use Hugo extended version. Example: true'
|
|
required: false
|
|
default: 'false'
|
|
milliseconds: # id of input
|
|
description: 'number of milliseconds to wait'
|
|
required: true
|
|
default: '1000'
|
|
outputs:
|
|
time: # output will be available to future steps
|
|
description: 'The message to output'
|
|
runs:
|
|
using: 'node12'
|
|
main: 'index.js'
|