Commit Graph
4 Commits
Author SHA1 Message Date
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 d1bd970540 chore: ignore dist.*/ build backup directories
dist.first-turn-old/ and similar hand-made build backups are not
ignored by the plain 'dist' rule, so they showed up as untracked noise
in git status.
2026-10-22 15:28:44 +08:00
Jack ce76dffa84 fix bridge first-turn disconnect during Hermes bootstrap 2026-10-22 15:28:44 +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