Gitlab is an amazing platform for hosting source code but it can also automate the deployment of your website or application.

In this example, I’ll use a great static website generator named Hugo.

I’ll first show how to build the site and host it on gitlab pages, then how to send it to any other host.