ci: use login shell (bash -l) to fix npm PATH on host runner
Some checks failed
Deploy to OCI / deploy (push) Failing after 30s
Some checks failed
Deploy to OCI / deploy (push) Failing after 30s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user