-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
34 lines (34 loc) · 1.12 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: "Antora Site"
description: "Generate the Antora site"
branding:
icon: book-open
color: yellow
inputs:
antora_playbook:
description: 'The Antora playbook file'
required: true
default: 'site.yaml'
site_sources_path:
description: 'The path relative to workspace root, where the asciidoc sources exits'
required: false
antora_generator:
description: 'Select generator to be used, currently supports the default "@antora/site-generator-default" or a custom generator path'
required: false
default: '@antora/site-generator-default'
antora_custom_generator_dependencies:
description: 'Enable installing Antora dependencies when using a custom generator'
required: false
default: 'false'
antora_additional_arguments:
description: 'Pass customized arguments when running Antora'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.antora_playbook}}
- ${{ inputs.site_sources_path }}
- ${{ inputs.antora_generator }}
- ${{ inputs.antora_custom_generator_dependencies }}
- ${{ inputs.antora_additional_arguments }}