-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yaml
28 lines (28 loc) · 840 Bytes
/
action.yaml
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
name: 'decK action'
description: 'Declarative Configuration management for Kong'
branding:
icon: 'repeat'
color: 'green'
inputs:
command:
description: 'decK sub-command you want to execute'
required: true
default: 'ping'
kong_workspaces:
description: 'Kong workspaces where yaml should be located'
required: true
default: 'kong'
github_token:
description: 'Just set as secrets.GITHUB_TOKEN here.'
required: true
options:
description: 'decK option arguments: e.g. --kong-addr secrets.KONG_ADDR --headers secrets.KONG_HEADERS when needed. Make sure you set the secrets in your repo settings.'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.command }}
- ${{ inputs.kong_workspaces }}
- ${{ inputs.options }}
- ${{ inputs.github_token }}