Gitlab Pages + Hugo + Pygmentize

Continuing the discussion from Gitlab introduces Gitlab pages, has inbuilt support for Hugo:

Hello all,

I recently started an effort to set up my first Hugo based site, and that too using Gitlab Pages. So all I do is commit my markdown files and Gitlab Shared Runners/CI engines would take care of creating the site using Hugo.

I also wanted syntax highlighting to be done using Pygments, and also use the latest Hugo release (0.17) as of now.

So I came up with this .gitlab-ci.yml and it works pretty well! :slightly_smiling:

Here is my site repo.