Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${AWS_REGION}
aws-region: ${{ env.AWS_REGION }}
- name: Test Linux
id: test-linux
uses: ./
with:
aws-region: ${AWS_REGION}
aws-region: ${{ env.AWS_REGION }}
instance-ids: ${{ github.event.inputs.instance_id_linux }}
commands: |
pwd
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# GitHub Action - AWS SSM Run Command

Github Action for running commands on Linux or Windows machine managed using SSM

## Usage

```yaml
- name: Execute command
uses: debugger24/action-aws-ssm-run-command@v1
with:
aws-region: us-east-1
instance-ids: |
instance_id_1
instance_id_2
commands: |
pwd
ls
echo "Executed by Github Actions Workflow #${{ github.run_id }}" >> test.txt
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "action-aws-ssm-run-command",
"version": "0.1.0",
"version": "1.0.0",
"description": "Github Action for running commands on Linux or Windows machine managed using SSM",
"main": "dist/index.js",
"scripts": {
Expand Down