generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathaction.yml
53 lines (53 loc) · 1.77 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
name: action-deploy
description: Action to manage GitHub deployments
author: radiantspace
inputs:
token:
required: true
description: GitHub token
type:
required: true
description: a type of deployment action to perform, can be 'create', 'delete' and 'delete-all'
logs:
required: false
description: url to deployment logs
description:
required: false
description: description of a deployment
deployment_id:
required: false
description: an id for deployment if 'delete' type is used
status:
required: false
description: status for created deployment
environment:
required: false
description: environment to create or delete all deployments in, default to context.ref without prefixes ('refs/heads/', 'deploy-'), i.e. branch name
environment_url:
required: false
description: link for the deployment (e.g. http://staging.your.app/status)
main_branch:
required: false
description: name of main branch of the repo, to get and store sha of the head commit and track diff being deployed
job_status:
required: false
description: pass `{{job.status}}` to set the deployment completion status post script accordingly
slack_token:
required: false
description: pass to authorize deployment completion messages to Slack
slack_channel:
required: false
description: name of channel to post deployment completion messages
deployment_confidence_url:
required: false
description: link for the deployment confidence dashboard
mutate_deployment:
required: false
description: Whether the deployment status needs to be mutated by this action
current_sha:
required: false
description: Sha of the deployment
runs:
using: 'node20'
main: 'dist/main/index.js'
post: 'dist/post/index.js'