From 720c32c485f41f9784ed586d351105a99cd69ca3 Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Tue, 7 Apr 2026 10:43:17 +0100 Subject: [PATCH] ci: use login shell (bash -l) to fix npm PATH on host runner --- .gitea/workflows/deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 4b4a5d7..28d1920 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -8,8 +8,9 @@ on: jobs: deploy: runs-on: self-hosted - env: - PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/fam/.cargo/bin:/home/fam/.local/bin + defaults: + run: + shell: bash -l {0} steps: - name: Checkout run: | @@ -20,7 +21,7 @@ jobs: fi - name: Install frontend dependencies - run: cd web && /usr/bin/npm ci + run: cd web && npm ci - name: Deploy to OCI run: make deploy-oci