Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
kranack authored Dec 13, 2023
1 parent bcf5400 commit 23bfaa6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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: |
cd ${{ secrets.DIR }}
${{ secrets.SCRIPT}}

0 comments on commit 23bfaa6

Please sign in to comment.