forked from strumwolf/delete-deployment-environment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
25 lines (25 loc) · 789 Bytes
/
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
name: 'Delete Deployment Environment'
description: 'Delete the entire environment and deployments for the branch the action is running on'
author: "strumwolf"
branding:
icon: briefcase
color: gray-dark
inputs:
token:
description: GitHub access token
required: true
environment:
description: Environment to be deleted
required: true
ref:
description: The `head_ref` or source branch name of the deployment to delete
required: false
onlyRemoveDeployments:
description: Only remove deployments, keep the environment. Defaults to false
required: false
onlyDeactivateDeployments:
description: Only inactive deployments, keep the environment and deployments. Defaults to false
required: false
runs:
using: 'node16'
main: 'dist/index.js'