GitLab "you need the extended version to build SCSS/SASS."

Hello all,

how can I use the extended version there?
Currently I use the standard config

I don’t know about the extended version on GitLab, but a workaround would be to build locally and commit the files below /resources/_gen into Git.

and then how do I publish that?

That should be enough for Hugo to build your site on GitLab with the regular version.

but i don’t know how to build the “.gitlab-ci.yml” then

hmm also when i build it locally the stylesheet doesn’t work; but with “hugo server -D” it works fine

hugo -D                         
Start building sites … 

                   | EN  
-------------------+-----
  Pages            | 30  
  Paginator pages  |  1  
  Non-page files   |  7  
  Static files     | 74  
  Processed images |  0  
  Aliases          |  3  
  Sitemaps         |  1  
  Cleaned          |  0  

Total in 415 ms

It looks like you can do this:

image: registry.gitlab.com/pages/hugo/hugo_extended:latest

instead of this:

image: registry.gitlab.com/pages/hugo:latest

See https://gitlab.com/pages/hugo/container_registry.

1 Like

Thank you now it works :smiley:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.