agentbbs/deploy
sh1pt-actions-fleet[bot] 29c14d4cb0
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled
ci(deploy): pin the deploy key to one forced command; self-update runs the new setup.sh (#163)
The 10-27 incident showed what an unrestricted root deploy key is worth to an
attacker. The CI key is now installed on the box as
restrict,command="/usr/local/sbin/agentbbs-ci-deploy", so it gets no shell,
scp, sftp, pty or forwarding.

- deploy/ci-deploy.sh (installed by setup.sh): verbs `arch`, `upload
  agentbbs|ascii-live` (ELF on stdin, size-capped, root-only staging dir) and
  `deploy main|master` (app secrets as NAME=<base64> on stdin, allowlisted).
  It does what the old inline heredoc did: sync to origin, pause the
  self-update timer, install binaries, exec setup.sh SKIP_BUILD=1.
- deploy.yml: uses those verbs instead of scp + `sudo bash -s`.
- self-update.sh: reset to origin before exec'ing setup.sh, so a setup.sh
  change takes effect on the first timer run instead of the second.

Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:21:21 +00:00
..
ergo irc(ergo): allow chrome-extension:// + irc domain origins for WS 2026-06-30 16:28:29 +00:00
git-chovy feat(deploy): git.chovy.com, a public Forgejo forge on chovy's build host (#134) 2026-10-01 02:42:36 -07:00
mailu fix(mailu): cert refresh no longer dies silently on OpenSSL 3.5 (#140) 2026-10-05 21:55:46 -07:00
ci-deploy.sh ci(deploy): pin the deploy key to one forced command; self-update runs the new setup.sh (#163) 2026-11-02 09:21:21 +00:00
news-refresh-certs.sh feat: members-only Usenet (NNTP) + Forgejo git provisioning + founding-lifetime $99 2026-06-14 14:26:23 +00:00