I am building my Hugo website on a local LXC container, using Gitea and Drone. There are plenty of tutorials on how to connected those two together, so I won’t go through that here.
Instead I want to show you how I build and deploy my staging and production environment to Nginx — using atomic deployments and unique preview URLs.