Skip to content

Commit e1033de

Browse files
committed
Update README.md
1 parent e1faf7f commit e1033de

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
11
# GitHub Action - AWS SSM Run Command
22

33
Github Action for running commands on Linux or Windows machine managed using SSM
4+
5+
## Usage
6+
7+
```yaml
8+
- name: Execute command
9+
uses: debugger24/action-aws-ssm-run-command@v1
10+
with:
11+
aws-region: us-east-1
12+
instance-ids: |
13+
instance_id_1
14+
instance_id_2
15+
commands: |
16+
pwd
17+
ls
18+
echo "Executed by Github Actions Workflow #${{ github.run_id }}" >> test.txt
19+
```

0 commit comments

Comments
 (0)