Commit Graph
2 Commits
Author SHA1 Message Date
CatoandClaude Sonnet 5.5 ad9fb7932c feat(deploy): the deploy applies migrations, installs timers, runs the price backfill once (#276)
* feat(deploy): the deploy applies migrations, installs timers and runs the one-time price backfill

Before the release goes live, deploy.yml now applies pending scripts/db/*.sql
(one transaction each, recorded in public.schema_migrations, first run checks
existing objects before baselining) and installs deploy/systemd units. A failure
stops the deploy with the live release untouched. After the release, the price
backfill runs once and is recorded in public.schema_oneshots.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

* docs: name no migration file that does not exist

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-27 23:22:53 +01:00
CatoandClaude Opus 5.5 e1104c7442 ops: one command moves Substrata to substrata.ch (#132)
Refuses until substrata.ch and www resolve to the box (Let's Encrypt
rate-limits failed validations). Then: Caddy serves substrata.ch, www and
substrata.orangecat.ch 308 to it with the path kept; health checked;
AUTH_URL switched; restart; old-link redirect checked. Backs up and
restores on a failed caddy validate. The Caddy block was validated against
a copy of the box's live config (and a broken block fails that check).

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 05:23:45 -07:00