forked from okteto/deploy-preview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
39 lines (39 loc) · 1.29 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
name: "Deploy Preview Environment"
description: "Preview environments for your Docker Compose or Kubernetes applications"
inputs:
name:
description: "The name of the preview environment to create"
required: true
timeout:
description: 'The length of time to wait for completion, zero means never. Any other values should contain a corresponding time unit e.g. 1s, 2m, 3h (default 5m0s)'
required: false
scope:
description: "The scope of preview env to create. Allowed values are: personal or global. Defaults to global."
required: false
default: "global"
variables:
description: 'Variables to be used by the pipeline. If several variables are present, they should be separated by commas e.g. VAR1=VAL1,VAR2=VAL2,VAR3=VAL3'
required: false
file:
description: "Path to the manifest file"
required: false
branch:
description: "The branch to deploy"
required: false
log-level:
description: "Log level string. Valid options are debug, info, warn, error"
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.name }}
- ${{ inputs.timeout }}
- ${{ inputs.scope }}
- ${{ inputs.variables }}
- ${{ inputs.file }}
- ${{ inputs.branch }}
- ${{ inputs.log-level }}
branding:
color: 'green'
icon: 'grid'