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