Skip to content

handle ai completion errors #34

handle ai completion errors

handle ai completion errors #34

Workflow file for this run

name: Deploy to OCI
on:
workflow_dispatch:
push:
branches: [ "master" ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: SSH Remote Commands
uses: appleboy/ssh-action@v1.0.3
with:
# ssh host
host: ${{ secrets.OCI_VM_IP }}
username: ${{ secrets.OCI_VM_USERNAME }}
key: ${{ secrets.OCI_VM_SSH }}
# execute commands
script: |
cd ~/matheditor
git fetch
git reset --hard origin/master
npm ci
npx prisma migrate deploy
npm run build
pm2 reload "matheditor"