forked from bobheadxi/deployments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
54 lines (53 loc) · 1.62 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
name: GitHub Deployments
description: GitHub action for working painlessly with deployment statuses.
author: bobheadxi
branding:
icon: bookmark
color: yellow
runs:
using: node12
main: lib/main.js
inputs:
token:
required: true
description: GitHub token
step:
required: true
description: One of 'start' and 'finish'
auto_inactive:
required: false
description: Set auto_inactive (see https://developer.github.com/v3/repos/deployments/#inactive-deployments)
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`
env:
required: false
description: The name of the deployment environment for Github. (Required for `start` and `deactivate-env` only)
transient:
required: false
description: Whether this is a transient (short-lived) environment. (For `start` only)
deployment_id:
required: false
description: The deployment id to update (if specified during `start`, the deployment will be updated instead of a new one created)
env_url:
required: false
description: The environment URL. (For `finish` only)
status:
required: false
description: The deployment status. (For `finish` only)
no_override:
required: false
description: Whether to mark existing deployments of this environment as inactive
default: 'true'
owner:
required: false
description: set a different repository owner (optional)
repo:
required: false
description: set a different repository (optional)