If you’re looking for an easy way to deploy your Hugo site on an Ubuntu server, I wrote a step-by-step deployment guide using CloudRay, a platform for automating Bash scripts and managing your infrastructure.
The guide covers everything from installing Hugo and Nginx to cloning your repo and configuring your domain.
Read the full guide here: How to Deploy Your Hugo Site on Ubuntu
Hope it helps. Let me know if you have questions