Merge branch 'dev' of https://git.home.0dev.web.id/nsrb/jerapah-flow into dev
Deploy to Raspberry Pi / deploy (push) Successful in 1m44s
Deploy to Raspberry Pi / deploy (push) Successful in 1m44s
This commit is contained in:
@@ -6,11 +6,19 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: self-hosted # must match a label on your act_runner
|
runs-on: home # must match a label on your act_runner
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
# act_runner uses bash --noprofile --norc; load nvm/pnpm explicitly
|
||||||
|
export NVM_DIR="/home/nsrb/.nvm"
|
||||||
|
export PNPM_HOME="/home/nsrb/.local/share/pnpm"
|
||||||
|
# shellcheck disable=SC1091
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
|
||||||
|
export PATH="$PNPM_HOME/bin:$PATH"
|
||||||
|
|
||||||
APP_DIR=/home/nsrb/apps/jerapah-flow
|
APP_DIR=/home/nsrb/apps/jerapah-flow
|
||||||
cd "$APP_DIR"
|
cd "$APP_DIR"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user