Files
jerapah-flow/.gitea/workflows/deploy.yaml
T
nsrb eb7c318c13
Deploy to Raspberry Pi / deploy (push) Failing after 4s
Update .gitea/workflows/deploy.yaml
2026-08-20 18:40:36 -04:00

25 lines
528 B
YAML

name: Deploy to Raspberry Pi
on:
push:
branches: [dev]
jobs:
deploy:
runs-on: home # must match a label on your act_runner
steps:
- name: Deploy
run: |
set -euo pipefail
APP_DIR=/home/nsrb/apps/jerapah-flow
cd "$APP_DIR"
git fetch origin dev
git checkout dev
git pull --ff-only origin dev
pnpm install --frozen-lockfile
pnpm build
pm2 startOrReload ecosystem.config.cjs --update-env
pm2 save