Skip to content

Commit

Permalink
action deploy added
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahShalaan committed Mar 12, 2024
1 parent 17f0369 commit 22d7b1f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Remote SSH
on: [push]
jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.IP }}
username: ${{ secrets.USER }}
password: ${{ secrets.PRIVATE_KEY }}
port: ${{ secrets.PORT }}
script: |
ls
${{ secrets.SCRIPT}}

0 comments on commit 22d7b1f

Please sign in to comment.