-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathcreate_deployment.yaml
More file actions
35 lines (35 loc) · 1011 Bytes
/
create_deployment.yaml
File metadata and controls
35 lines (35 loc) · 1011 Bytes
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
---
name: "create_deployment"
runner_type: "python-script"
description: "Create a new deployment for a GitHub repository"
enabled: true
entry_point: "create_deployment.py"
parameters:
api_user:
type: "string"
description: "The API user"
default: "{{action_context.api_user|default(None)}}"
repository:
type: "string"
description: "The full (Organization|User)/repository path"
required: true
ref:
type: "string"
description: "The branch, tag, or SHA to deploy."
default: "master"
environment:
type: "string"
description: "Deploy to this environment."
default: "production"
description:
type: "string"
description: "Optional short description."
default: ""
payload:
type: "string"
description: "Optional JSON payload with extra information about the deployment."
default: ""
github_type:
type: "string"
description: "The type of github installation to target, if unset will use the configured default."
default: ~