3 Commits
Author SHA1 Message Date
toor a54913efd2 fix false missing Hermes CLI detection after deployment
Build / build (push) Canceled after 0s
Playwright / e2e (push) Canceled after 0s
2026-10-24 20:59:08 +08:00
Jack b5b9a62ff8 feat(deploy): always deploy the newest code from origin/main
Build / build (push) Canceled after 0s
Playwright / e2e (push) Canceled after 0s
Three fixes so a plain './deploy.sh' really does ship the latest code:

- Diverged branch: rebase local commits onto origin/main instead of
  dying on 'Fast-forward to origin/main failed'. Conflicts abort the
  rebase and stop the deploy rather than building a half-merged tree.
- Unreachable origin: retry the fetch through the local mihomo proxy
  (HERMES_UI_GIT_PROXY, default http://127.0.0.1:7890).
- Self-kill on restart: when the script runs inside the service's own
  cgroup, 'systemctl restart' SIGTERMs the script too, so the build
  landed but the post-restart health checks never ran. Re-execute under
  a transient systemd scope to escape the cgroup first.
2026-10-22 15:35:33 +08:00
Jack 90c759c760 add a one-click deploy script for the self-hosted build
Build / build (push) Canceled after 0s
Playwright / e2e (push) Canceled after 0s
2026-10-21 17:53:25 +08:00