forked from okteto/deploy-preview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
31 lines (31 loc) · 1 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
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"
required: false
default: "personal"
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
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.name }}
- ${{ inputs.timeout }}
- ${{ inputs.scope }}
- ${{ inputs.variables }}
- ${{ inputs.file }}
branding:
color: 'green'
icon: 'grid'