-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
40 lines (40 loc) · 1.21 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
name: 'Zeugwerk Doc Action'
description: 'Generate documentation on a commented plc project using Zeugwerk Doc'
branding:
icon: 'book-open'
color: 'gray-dark'
inputs:
username:
description: 'Username for the Zeugwerk Doc Service'
required: true
default: ''
password:
description: 'Password for the Zeugwerk Doc Service'
required: true
default: ''
filepath:
description: 'Path to one or more plcproj files or folders that contain a config.json file (spaces seperated)'
required: true
default: ''
doc-folder:
description: 'Location where markdowns and docfx metafiles (tod.yml, ...) of the documentation are located.'
required: false
default: 'documentation'
working-directory:
description: 'Working directory'
required: false
default: '.'
fail-on-error:
description: 'Fail the build if zkdoc could not be run correctly (syntax error, unsupported syntax in code, ...)'
required: false
default: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.username }}
- ${{ inputs.password }}
- ${{ inputs.filepath }}
- ${{ inputs.doc-folder }}
- ${{ inputs.working-directory }}
- ${{ inputs.fail-on-error }}