-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathaction.yml
38 lines (34 loc) · 918 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
31
32
33
34
35
36
37
38
name: "AWS SSM Send-Command"
author: "Donghyun Peter Kim <[email protected]>"
branding:
icon: "arrow-up-right"
color: "orange"
description: "Remote EC2 bash command execution."
inputs:
aws-access-key-id:
required: true
description: "AWS access key id"
aws-secret-access-key:
required: true
description: "AWS secret access key"
aws-region:
required: true
description: "Where EC2 instance is"
instance-ids:
required: true
description: "AWS EC2 Instance id or ids"
command:
required: false
description: "Bash command you want to execute"
default: "echo $(date) >> logs.txt"
working-directory:
required: false
description: "Command execution location"
default: "/home/ubuntu"
comment:
required: false
description: "Comment for Send-Command"
default: "Executed by Github Actions"
runs:
using: "node12"
main: "dist/index.js"