Commit Graph
3 Commits
Author SHA1 Message Date
zihluwang 8931598794 refactor(caddy): modularise deployment init
Split the monolithic init-caddy.sh into four ordered, idempotent
setup scripts for the Caddy deployment environment:

- install-base-deps: install required apt packages
- install-aws-cli: bootstrap AWS CLI v2
- install-caddy: fetch binary, create caddy:caddy, register systemd unit
- prepare-caddy-cicd: create bot deploy user + SSH, hand over web root
  with ACLs, write site Caddyfile and start the service
- Make the web root overridable via WEB_ROOT (default /var/www)
2026-09-02 13:47:00 +08:00
zihluwang 0da76f102b Add Windows/MigrateRemote.ps1 2026-06-19 17:57:55 +08:00
zihluwang 79c499c399 feat: add migrating script for macOS 2026-06-19 17:57:22 +08:00