-
Notifications
You must be signed in to change notification settings - Fork 6
/
action.yml
54 lines (44 loc) · 1.86 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
47
48
49
50
51
52
53
54
name: 'render-guides'
description: 'Documentation render tool for typo3 documentation'
inputs:
input:
description: 'Input directory (i.e. "Documentation")'
required: false
default: null
working-directory:
description: 'Working directory (i.e. "./", or "t3docsproject")'
required: false
default: './'
config:
description: 'Configuration file location (i.e. "Documentation/")'
default: 'Documentation'
output:
description: 'Output directory (i.e. "RenderedDocumentation/Result/project/0.0.0")'
default: 'RenderedDocumentation'
configure-branch:
description: 'guides.xml configuration override (optional): Name of rendered GIT branch (i.e. "main" or "9.5"). Overrides <extension edit-on-github-branch="X">'
default: ''
configure-project-release:
description: 'guides.xml configuration override (optional): Project release version (i.e. "draft" or "main"), based on deployment target directory. Overrides <project release="X">'
default: ''
configure-project-version:
description: 'guides.xml configuration override (optional): Project version (i.e. "draft", "main", "9.5"). Overrides <project version="X">'
default: ''
runs:
using: "composite"
steps:
- uses: TYPO3-Documentation/render-guides/.github/actions/configure-guides-step@main
with:
config: ${{ inputs.config }}
configure-branch: ${{ inputs.configure-branch }}
configure-project-release: ${{ inputs.configure-project-release }}
configure-project-version: ${{ inputs.configure-project-version }}
- uses: TYPO3-Documentation/render-guides/.github/actions/render-guides-step@main
with:
working-directory: ${{ inputs.working-directory }}
config: ${{ inputs.config }}
output: ${{ inputs.output }}
input: ${{ inputs.input }}
branding:
icon: 'book-open'
color: 'orange'