Testing ci cd

This commit is contained in:
Vivek Teega 2023-12-09 11:51:59 +05:30
parent ee94988cd0
commit b2601f09f3

20
.github/workflows/deploy-api.yml vendored Normal file
View 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