Skip to content

Add files via upload #92

Add files via upload

Add files via upload #92

Workflow file for this run

name: Sersow API Staging
on:
push:
branches: [ "staging" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd app/sersow/controller/staging
git reset --hard HEAD
git switch staging
git pull origin staging
npm i
pm2 restart sersow-controller-staging