#github-actions
4 notes · ← All notes
- shiqi.si goes live: from an empty domain to a running serverOne long day: pick a free student host, create an Azure VM, wire up SSH, DNS, GitHub and CI, fight k3s on 1 GB of RAM, and finally ship with Docker Compose and Caddy.
- Afternoon on the live site: visitor log, two languages, auto-deployA Redis-backed visitor log behind Basic auth, English and Chinese with free machine translation, secrets that deploy themselves, a 35-minute image build cut to 40 seconds, and a CSRF check that broke behind HTTPS.
- CI/CD with GitHub Actions and GHCRCheck, build an image, push it to the GitHub Container Registry, deploy over SSH: one workflow file.
- Managing secrets for a small deploymentWhere API keys and passwords should live, how to get them to a server without leaking them, and what to do when one leaks.