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:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
env:
|
defaults:
|
||||||
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/fam/.cargo/bin:/home/fam/.local/bin
|
run:
|
||||||
|
shell: bash -l {0}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
@@ -20,7 +21,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Install frontend dependencies
|
- name: Install frontend dependencies
|
||||||
run: cd web && /usr/bin/npm ci
|
run: cd web && npm ci
|
||||||
|
|
||||||
- name: Deploy to OCI
|
- name: Deploy to OCI
|
||||||
run: make deploy-oci
|
run: make deploy-oci
|
||||||
|
|||||||
Reference in New Issue
Block a user