-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
37 lines (35 loc) · 1.31 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
35
36
37
name: asciidoctor-pdf-pages
author: Giuseppe Nardiello
branding:
icon: book-open
color: blue
description: 'Build AsciiDoc PDF Pages for each adoc into current repository branch'
inputs:
find_params:
description: 'Extra parameters to pass to the find command to customize search criteria to select pdf to convert'
default: '-maxdepth 5'
required: false
asciidoctor_params:
description: 'Extra parameters to pass to the asciidoctor command to customize the process of building adoc files'
required: false
adoc_file_ext:
description: 'The extension you are using for your AsciiDoc Files'
default: '.adoc'
required: false
pre_build:
description: 'Any arbitrary shell command to be executed before the asciidoc build is started. Optional.'
default: 'echo "No pre build command provided."'
required: false
post_build:
description: 'Any arbitrary shell command to be executed after the asciidoc build is complete and before committing changes on working branch. Optional.'
default: 'echo "No post build command provided."'
required: false
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.working_branch }}
- ${{ inputs.asciidoctor_params }}
- ${{ inputs.adoc_file_ext }}
- ${{ inputs.pre_build }}
- ${{ inputs.post_build }}