test
This commit is contained in:
parent
2f428a70b2
commit
27919f3712
8
.github/workflows/deploy-api.yml
vendored
8
.github/workflows/deploy-api.yml
vendored
@ -5,11 +5,13 @@ jobs:
|
|||||||
name: Pull changes and deploy API
|
name: Pull changes and deploy API
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: executing remote ssh commands using password
|
- name: multiple command
|
||||||
uses: appleboy/ssh-action@v1.0.0
|
uses: appleboy/ssh-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
host: ${{ secrets.HOST }}
|
||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
key: ${{ secrets.KEY }}
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
script: whoami
|
script: |
|
||||||
|
whoami
|
||||||
|
ls -al
|
||||||
Loading…
Reference in New Issue
Block a user