The site itself is served from a small Linux container on my Proxmox server. Caddy runs inside it as the web server, with a reverse proxy in front that takes care of HTTPS.
The container builds the site on its own:
- Every 15 minutes it checks GitHub for changes and rebuilds if there are any.
- Every night at 00:01 it rebuilds no matter what, so scheduled posts go live right at midnight.
- Each new version is fully checked first, every link and every image. Only then does the site switch over. If something fails, the previous version stays online.