CI/CD and more sensible authentication limiting

This commit is contained in:
2026-03-21 21:03:18 +00:00
parent b367c7d1fc
commit d52c2269fb
2 changed files with 20 additions and 1 deletions

19
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
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