Skip to content

Commit

Permalink
Check execution as a job
Browse files Browse the repository at this point in the history
  • Loading branch information
sshrihar committed Aug 19, 2024
1 parent 7cfa41e commit fc28e20
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/test-ssh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ jobs:
role-to-assume: arn:aws:iam::657556092833:role/midendev-GithubActionsRole
role-session-name: GithubActionsSession

- name: Run command on EC2 instance
uses: ./.github/workflows/execute_ssh.yml
with:
command: ls -lrt
instance_id: i-0d50212756bccc552
wait_for_execution: "3"
call-execute-ssh:
uses: ./.github/workflows/execute_ssh.yml
with:
command: ls -lrt
instance_id: i-0d50212756bccc552
wait_for_execution: "3"


# - name: Run command on EC2 instance
# uses: ./.github/workflows/execute_ssh.yml
# with:
# command: ls -lrt
# instance_id: i-0d50212756bccc552
# wait_for_execution: "3"

0 comments on commit fc28e20

Please sign in to comment.