utility-api/.github/workflows/deploy-api.yml
Vivek Teega 2f428a70b2 Test
2023-12-09 13:58:29 +05:30

15 lines
416 B
YAML

name: Pull changes and deploy API
on: [push]
jobs:
build:
name: Pull changes and deploy API
runs-on: self-hosted
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: whoami