Files
LabWise/.github/workflows/deploy.yml

20 lines
412 B
YAML

name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Pull latest
run: git -C /home/adipu/LabWise pull
- name: Install dependencies
run: |
cd /home/adipu/LabWise
PATH="/home/adipu/.local/node20/bin:$PATH" npm install --prefix server
- name: Restart app
run: systemctl --user restart labwise-app