generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 64
/
action.yml
61 lines (58 loc) · 1.95 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
61
name: GitHub Deployments
description: GitHub action for working painlessly with deployment statuses.
author: bobheadxi
branding:
icon: bookmark
color: yellow
runs:
using: node20
main: dist/index.js
inputs:
step:
required: true
description: One of 'start', 'finish', 'deactivate-env', or 'delete-env'
token:
required: true
description: GitHub access token
default: ${{ github.token }}
env:
required: true
description: The name of the deployment environment in GitHub to create statuses in.
repository:
required: false
description: Set status for a different repository, using the format `$owner/$repository` (optional, defaults to the current repository)
logs:
required: false
description: URL to logs
desc:
required: false
description: Description to set in status
ref:
required: false
description: The git ref to use for the deploy, defaults to `github.ref`
task:
required: false
description: The task to assign to the deployment, defaults to 'deploy'
debug:
required: false
description: Print arguments used by this action and other debug information.
default: 'false'
deployment_id:
required: false
description: The deployment ID to update (if specified during `start`, the deployment will be updated instead of creating a new one)
env_url:
required: false
description: The environment URL (for `finish` only)
status:
required: false
description: The deployment status (for `finish` only)
override:
required: false
description: Whether to manually mark existing deployments of this environment as inactive (for `start` and `finish` only)
auto_inactive:
required: false
description: Whether to mark existing deployments as inactive if a deployment succeeds (for `finish` only)
default: 'false'
payload:
required: false
description: JSON-formatted dictionary with extra information about the deployment (for `start` only)