-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathaction.yml
32 lines (29 loc) · 985 Bytes
/
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
# This action renders PlantUML diagrams and pushes the
# resulting PNG file to your wiki repo.
#
# As it does not use the public PlantUML render service
# but an intance of the PlantUML Java app, this action
# doesnt leak your documentation to the public and can
# therefore be used in private repositories.
name: Render PlantUML to Wiki
description: Renders PlantUML diagrams and pushes the generated PNG files to your repo's wiki
branding:
icon: file-text
color: blue
inputs:
WIKI_TOKEN:
description: Secure token to access wiki repo
required: true
INPUT_DIR:
description: Directory in repo to read PlantUML source files from
default: /input_directory
OUTPUT_DIR:
description: Directory in wiki to write rendered diagrams to
default: /output_directory
runs:
using: Docker
image: Dockerfile
args:
- ${{ inputs.WIKI_TOKEN }}
- ${{ inputs.INPUT_DIR }}
- ${{ inputs.OUTPUT_DIR }}