Update deploy-api.yml
This commit is contained in:
parent
dd197cdf24
commit
b485ad1fde
12
.github/workflows/deploy-api.yml
vendored
12
.github/workflows/deploy-api.yml
vendored
@ -1,18 +1,16 @@
|
|||||||
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
|
name: Build
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: multiple command
|
- name: Executing remote 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 }}
|
||||||
key: ${{ secrets.KEY }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
script: |
|
script: whoami
|
||||||
whoami
|
|
||||||
ls -al
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user