Build the ERP frontend on the Jenkins controller and deploy it to ANY LogShip instance (demo clones etc.) over ssh.
Parameters: TARGET_HOST (instance ip), BRANCH (git branch). Script source of truth: reference/ci/deploy-instance.sh in the repo — paste it here again after changes.
Keeps the instance .env + data/, regenerates NUXT_* overrides, pm2 restart from ecosystem, rollback on failed health check.
Parameters: TARGET_HOST (instance ip), BRANCH (git branch). Script source of truth: reference/ci/deploy-instance.sh in the repo — paste it here again after changes.
Keeps the instance .env + data/, regenerates NUXT_* overrides, pm2 restart from ecosystem, rollback on failed health check.