Add UserInfo component (#100) #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |