utility-api/.github/workflows/deploy-api.yml
Vivek Teega 27919f3712 test
2023-12-09 15:48:37 +05:30

17 lines
407 B
YAML

name: Pull changes and deploy API
on: [push]
jobs:
build:
name: Pull changes and deploy API
runs-on: self-hosted
steps:
- name: multiple command
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
whoami
ls -al