-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
59 lines (59 loc) · 1.74 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
55
56
57
58
59
name: 'structurizr-cli-action'
description: 'Runs structurizr command line application'
author: 'Maksim Milykh'
branding:
icon: 'copy'
color: 'blue'
inputs:
id:
description: 'The workspace ID (required)'
required: true
key:
description: 'The workspace API key (required)'
required: true
secret:
description: 'The workspace API secret (required)'
required: true
workspace:
description: 'The path to the workspace JSON file/DSL file(s) (required)'
required: true
docs:
description: 'The path to the directory containing Markdown/AsciiDoc files to be published (optional)'
required: false
adrs:
description: 'The path to the directory containing ADRs (optional)'
required: false
url:
description: 'The Structurizr API URL (optional; defaults to https://api.structurizr.com)'
required: false
default: 'https://api.structurizr.com'
passphrase:
description: 'The passphrase to use (optional; only required if client-side encryption enabled on the workspace)'
required: false
merge:
description: 'Whether to merge layout information from the remote workspace (optional: defaults to true)'
required: false
archive:
description: 'Whether to store the previous version of the remote workspace (optional; default to true)'
required: false
runs:
using: 'docker'
image: 'docker://ghcr.io/aidmax/structurizr-cli-docker:latest'
args:
- 'push'
- '-id'
- ${{ inputs.id }}
- '-key'
- ${{ inputs.key }}
- '-secret'
- ${{ inputs.secret }}
- '-workspace'
- ${{ inputs.workspace }}
- '-url'
- ${{ inputs.url }}
- '-passphrase'
- ${{ inputs.passphrase }}
- '-merge'
- ${{ inputs.merge }}
- '-archive'
- ${{ inputs.archive }}