Skip to content

Merge pull request #103 from utmgdsc/99-react-flow-integration #58

Merge pull request #103 from utmgdsc/99-react-flow-integration

Merge pull request #103 from utmgdsc/99-react-flow-integration #58

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
build-deploy:
name: Build & Deploy
runs-on: [self-hosted]
steps:
- name: Checkout
run: |
cd ~/UML_Mentor
git switch main
git pull
npm install
- name: Build Client
run: |
cd ~/UML_Mentor/client
npm install && npm run build
- name: Start Server
run: |
cd ~/UML_Mentor
cp ~/env_file .env
pm2 restart "UML Mentor"