-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathaction.yml
More file actions
47 lines (47 loc) · 1.66 KB
/
Copy pathaction.yml
File metadata and controls
47 lines (47 loc) · 1.66 KB
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
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
dependencies:
description: "Force deployment of repositories in the 'dependencies' section"
required: false
labels:
description: "Tag and organize Preview Environments using labels. If several labels are present, they should be separated by commas e.g. label1,label2,label3"
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.name }}
- ${{ inputs.timeout }}
- ${{ inputs.scope }}
- ${{ inputs.variables }}
- ${{ inputs.file }}
- ${{ inputs.branch }}
- ${{ inputs.log-level }}
- ${{ inputs.dependencies }}
- ${{ inputs.labels }}
branding:
color: 'green'
icon: 'grid'