use correct node version
This commit is contained in:
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@@ -11,9 +11,9 @@ jobs:
|
|||||||
run: git -C /home/adipu/LabWise pull
|
run: git -C /home/adipu/LabWise pull
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
env:
|
||||||
cd /home/adipu/LabWise
|
PATH: /home/adipu/.local/node20/bin:/usr/bin:/bin
|
||||||
PATH="/home/adipu/.local/node20/bin:$PATH" npm install --prefix server
|
run: npm install --prefix /home/adipu/LabWise/server
|
||||||
|
|
||||||
- name: Restart app
|
- name: Restart app
|
||||||
run: XDG_RUNTIME_DIR=/run/user/1000 systemctl --user restart labwise-app
|
run: XDG_RUNTIME_DIR=/run/user/1000 systemctl --user restart labwise-app
|
||||||
|
|||||||
Reference in New Issue
Block a user