Auto-deploy on main branch push #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Proposal
Auto-deploy FileDrop UI when changes are pushed to main branch.
Recommended approach: Simple cron poll (every 60s) —
git fetch+ compare +git pull+systemctl restartif behind.Why this over webhooks/CI: Simplest option, no new services or ports, uses existing tools (git + cron). 60s delay is fine for an internal tool.
Draft script and full analysis: see
docs/AUTODEPLOY-PROPOSAL.mdImplementation steps
deploy.sh(draft in proposal)Security notes
Revised approach (per k9ert): Skip cron polling. Instead:
This is event-driven, uses existing infra (FileDrop + wake), and gives Zeus oversight of deploys. No new dependencies except a Forgejo workflow file.
See updated proposal in docs/AUTODEPLOY-PROPOSAL.md (to be updated).
Implemented via Forgejo Actions + SSH forced command (same pattern as Alpha/cobot deploy).
Push to main → runner → SSH → deploy.sh → git pull + restart + filedrop notify.
First successful deploy:
2e610b3at 2026-03-01T20:01:44Z.Commit:
2e610b3