Easily deploy your blog with Hugo and Gitlab Pages

Hugo allow us to quickly create a blog (or any static website) and start creating content by writing markdown files. In order to deploy the website there are many solutions, such as Netlify, Google Firebase or Amazon S3… For my developer blog, I chose Gitlab Pages as it integrates easily with my project on Gitlab. Gitlab configuration Create a .gitlab-ci.yml file at the root of your project, and add the following code to automatically deploy your Hugo website at every merge to the master branch....

January 25, 2021 · Nicolas Sauvage