Update deploy-api.yml
This commit is contained in:
parent
3ba48f51f5
commit
423693b73f
18
.github/workflows/deploy-api.yml
vendored
18
.github/workflows/deploy-api.yml
vendored
@ -1,20 +1,16 @@
|
|||||||
name: Pull changes and deploy API
|
name: Pull changes and deploy API
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
name: Build
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
|
||||||
|
|
||||||
- name: Executing remote command
|
- name: Executing remote command
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@v1.0.0
|
||||||
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