diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 39ae903..5fcbdc3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,9 +11,9 @@ jobs: 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 + env: + PATH: /home/adipu/.local/node20/bin:/usr/bin:/bin + run: npm install --prefix /home/adipu/LabWise/server - name: Restart app run: XDG_RUNTIME_DIR=/run/user/1000 systemctl --user restart labwise-app