forked from avakar/create-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
60 lines (57 loc) · 1.88 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
60
name: Create a GitHub deployment
description: Create a new deployment in your repo.
inputs:
ref:
description: |
The ref to deploy. This can be a branch, tag, or SHA.
default: ''
task:
description: |
Specifies a task to execute. Default: "deploy"
default: deploy
auto_merge:
description: |
Attempts to automatically merge the default branch into the requested ref,
if it's behind the default branch. Default: true
default: true
required_contexts:
description: |
The status contexts to verify against commit status checks. If you omit
this parameter, GitHub verifies all unique contexts before creating
a deployment. To bypass checking entirely, pass an empty array.
Defaults to all unique contexts.
default: '*'
payload:
description: |
JSON payload with extra information about the deployment. Default: ""
default: ''
environment:
description: |
Name for the target deployment environment (e.g., production, staging, qa).
Default: production
default: production
description:
description: |
Short description of the deployment. Default: ""
default: ''
production_environment:
description: |
Specifies if the given environment is one that end-users directly
interact with. Default: true when environment is production
and false otherwise.
default: ''
transient_environment:
description: |
Specifies if the given environment is specific to the deployment
and will no longer exist at some point in the future. Default: false
default: 'false'
outputs:
deployment_id:
description: The identifier of the newly created deployment.
deployment_url:
description: The API url of the newly created deployment.
statuses_url:
description: The API url of the deployment statuses.
runs:
using: 'node16'
main: 'dist/index.js'