generated from debugger24/github-action-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
39 lines (34 loc) · 1010 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
39
name: "AWS SSM Run Command"
author: "Rahul Kumar <[email protected]>"
description: "Github Action for running commands on Linux or Windows machine managed using SSM"
branding:
icon: "code"
color: "orange"
inputs:
aws-region:
required: true
description: "AWS Region"
instance-ids:
required: true
description: "List of Instance IDs to execute command"
commands:
required: true
description: "Commands to be executed on instance"
os:
required: false
description: "(Optional) Operating system to run commands (windows or linux)"
default: linux
working-directory:
required: false
description: "(Optional) Working directory for command execution"
default: ""
comment:
required: false
description: "(Optional) Comment"
default: "Executed by Github Actions Workflow #${{ github.run_id }}"
outputs:
command-id:
description: "Execution command ID generated by AWS send command API"
runs:
using: "node16"
main: "dist/index.js"