Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurvanl committed Jun 15, 2022
1 parent 7be0c01 commit 1e3c7d9
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ name: Execute SSH Commands
on: [push, pull_request, workflow_dispatch]

jobs:
my-job:
build:
runs-on: ubuntu-latest
steps:
- name: Run SSH Commands
id: ssh
uses: my-job: ./.github/workflows/action.yml
with:
host: ${{ secrets.HOST }}
username: root
password: ${{ secrets.PASSWORD }}
commands: |
ls -a
pm2 list
pm2 restart 0
build:
runs-on: ubuntu-latest
steps:
- name: Run SSH Commands
id: ssh
uses: arthurvanl/action-exec-ssh@v2-dev
with:
host: ${{ secrets.HOST }}
username: root
password: ${{ secrets.PASSWORD }}
commands: |
ls -a
pm2 list
pm2 restart 0

0 comments on commit 1e3c7d9

Please sign in to comment.