forked from smitp/amazon-ecs-run-task
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (32 loc) · 1 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
name: 'Amazon ECS "Run Task" Action for GitHub Actions'
description: 'Runs an Amazon ECS task'
branding:
icon: 'cloud'
color: 'orange'
inputs:
task-definition:
description: 'The name of ECS task definition'
required: true
cluster:
description: "The name of the ECS cluster. Will default to the 'default' cluster"
required: true
count:
description: "The count of tasks to run. Will default to the 1"
required: true
started-by:
description: "The value of the task started-by"
required: false
wait-for-finish:
description: "Whether to wait for tasks to reach stopped state. Will default to not waiting"
required: false
wait-for-minutes:
description: 'How long to wait for the task reach stopped state, in minutes (default: 30 minutes, max: 6 hours).'
required: false
outputs:
task-definition-arn:
description: 'The ARN of the registered ECS task definition'
task-arn:
description: 'The ARN of the ECS task'
runs:
using: 'node16'
main: 'dist/index.js'