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
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Pull changes and deploy API
|
||||
name: Build
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: multiple command
|
||||
- name: Executing remote command
|
||||
uses: appleboy/ssh-action@v1.0.0
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script: |
|
||||
whoami
|
||||
ls -al
|
||||
script: whoami
|
||||
|
||||
Loading…
Reference in New Issue
Block a user