-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
46 lines (46 loc) · 1.66 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
38
39
40
41
42
43
44
45
46
name: 'Mark2Confluence'
description: Uses kovetskiy/mark to publish markdown files to confluence pages
inputs:
action:
description: "Action to perform: verify|dry-run|publish"
required: true
CONFLUENCE_USERNAME:
description: "Username for confluence"
required: true
CONFLUENCE_PASSWORD:
description: "Password for confluence"
required: true
CONFLUENCE_BASE_URL:
description: Confluence base url
required: true
DOC_DIR:
description: The root directory where to look for markdown files
required: false
default: ""
DOC_DIR_PATTERN:
description: "Regexp to filter markdown files"
required: false
default: ""
MODIFIED_INTERVAL:
description: "Evaluate only files newer than (in minutes)(default: 0 means is disabled) "
required: false
default: "0"
FILES:
description: "Space separated list of files. When specified, the action only process the files in the list"
required: false
default: ""
HEADER_TEMPLATE:
description: The header to add to each markdown files, this will jinja evaluated
required: false
default: "---\n\n**WARNING**: This page is automatically generated from [this source code]({{source_link}})\n\n---\n<!-- Include: ac:toc -->\n\n"
MERMAID_PROVIDER:
description: "Defines the mermaid provider to use. Supported options are: cloudscript, mermaid-go"
required: false
default: ""
default_parents:
description: "Automatically inject space and parents headers for the files under the specified directory, format: DIR=SPACE->PARENT1->PARENT2, each definition is separated by a newline"
required: false
default: ""
runs:
using: "docker"
image: Dockerfile