Test
This commit is contained in:
parent
b2601f09f3
commit
2f428a70b2
19
.github/workflows/deploy-api.yml
vendored
19
.github/workflows/deploy-api.yml
vendored
@ -1,20 +1,15 @@
|
|||||||
name: Pull changes and deploy API
|
name: Pull changes and deploy API
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Pull changes and deploy API
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- name: executing remote ssh commands using password
|
||||||
|
uses: appleboy/ssh-action@v1.0.0
|
||||||
- name: Executing remote command
|
|
||||||
uses: appleboy/ssh-action@master
|
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
host: ${{ secrets.HOST }}
|
||||||
USERNAME: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
PORT: ${{ secrets.PORT }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
KEY: ${{ secrets.SSHKEY }}
|
port: ${{ secrets.PORT }}
|
||||||
script: ls
|
script: whoami
|
||||||
Loading…
Reference in New Issue
Block a user