Testing ci cd
This commit is contained in:
parent
ee94988cd0
commit
b2601f09f3
20
.github/workflows/deploy-api.yml
vendored
Normal file
20
.github/workflows/deploy-api.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Pull changes and deploy API
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: self-hosted
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Executing remote command
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
USERNAME: ${{ secrets.USERNAME }}
|
||||
PORT: ${{ secrets.PORT }}
|
||||
KEY: ${{ secrets.SSHKEY }}
|
||||
script: ls
|
||||
Loading…
Reference in New Issue
Block a user