forked from noelzubin/aws-ecs-run-task
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
30 lines (28 loc) · 859 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
26
27
28
29
30
name: 'Run one-off task on ECS'
description: 'Run a task on ECS and waits for ECS task to finish.'
branding:
icon: 'activity'
color: 'white'
inputs:
cluster:
description: "The name of the ECS service's cluster. Will default to the 'default' cluster"
required: false
service:
description: 'The name of the service'
required: true
override-container:
description: 'The container whose command should be overridden'
required: false
override-container-command:
description: 'The command to to be run on the overrided container'
required: false
outputs:
task-arn:
description: 'The ARN for the tash that finished running'
status:
description: 'The status of the task, success for sucesssful tasks.'
task-definition:
description: 'Task definition uid'
runs:
using: 'node20'
main: 'dist/index.js'