Skip to content

hotfix-- testing the setup workflow #71

hotfix-- testing the setup workflow

hotfix-- testing the setup workflow #71

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 reset --hard
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"