-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
46 lines (40 loc) · 2 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
name: 'Amazon ECS Service Action for GitHub Actions'
description: 'Creates an Amazon ECS Service'
branding:
icon: 'cloud'
color: 'orange'
inputs:
spec:
description: 'Specify either a `spec-file` as a filename, a `spec` as a JSON string, or both. If you supply both, `spec` will naively override any top level keys in `spec-file`.
You might do this if you have data coming from a previous step.
See https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ecs/interfaces/createservicecommandinput.html for information about how to craft a valid `spec` or `spec-file`.'
required: false
spec-file:
description: 'Specify either a `spec-file` as a filename, a `spec` as a JSON string, or both. If you supply both, `spec` will naively override any top level keys in `spec-file`.
You might do this if you have data coming from a previous step.
See https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ecs/interfaces/createservicecommandinput.html for information about how to craft a valid `spec` or `spec-file`.'
required: false
force-new-deployment:
description: 'Whether to force a new deployment when updating the service. false by default.
true | [false]'
required: false
action:
description: 'Whether to create the resource or delete the resource. Creates by default
[create] | delete'
required: false
force-delete:
description: 'If true, allows you to delete a service even if it has not been scaled down to zero tasks. It is only necessary to use this if the service is using the REPLICA scheduling strategy.
true | [false]'
required: false
wait-until-deployment-complete:
description: 'If set with any value, will wait until the tasks return with a RUNNING state.
true | [undefined]'
required: false
outputs:
arn:
description: 'The ARN of the Service'
service:
description: 'The created or found Service in JSON'
runs:
using: 'node16'
main: 'dist/index.js'