File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ jobs:
2222 with :
2323 aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
2424 aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
25- aws-region : ${AWS_REGION}
25+ aws-region : ${{ env. AWS_REGION } }
2626 - name : Test Linux
2727 id : test-linux
2828 uses : ./
2929 with :
30- aws-region : ${AWS_REGION}
30+ aws-region : ${{ env. AWS_REGION } }
3131 instance-ids : ${{ github.event.inputs.instance_id_linux }}
3232 commands : |
3333 pwd
Original file line number Diff line number Diff line change 11# GitHub Action - AWS SSM Run Command
22
33Github 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+ ` ` `
Original file line number Diff line number Diff line change 11{
22 "name" : " action-aws-ssm-run-command" ,
3- "version" : " 0.1 .0" ,
3+ "version" : " 1.0 .0" ,
44 "description" : " Github Action for running commands on Linux or Windows machine managed using SSM" ,
55 "main" : " dist/index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments