Deploying to gh-pages error

Hi, could anyone help me figure out why my hugo site isn’t deploying to github pages?

I’m getting the following error:

0s
Run hugo --minify
Start building sites … 
hugo v0.87.0-B0C541E4 linux/amd64 BuildDate=2021-08-03T10:57:28Z VendorInfo=gohugoio
ERROR 2021/08/08 21:07:21 TOCSS: failed to transform "css/custom.css" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS.
ERROR 2021/08/08 21:07:21 TOCSS: failed to transform "css/about.css" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS.
ERROR 2021/08/08 21:07:21 TOCSS: failed to transform "css/posts.css" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS.
Error: Error building site: TOCSS: failed to transform "css/post.css" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS.
ERROR 2021/08/08 21:07:21 TOCSS: failed to transform "css/tags.css" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS.
Total in 41 ms
Error: Process completed with exit code 255.

Thanks very much in advance

Please enable extended: true to install the Hugo extended version. Hugo requires the extended version to transpile SASS/SCSS to CSS.

- name: Setup Hugo
  uses: peaceiris/actions-hugo@v2
  with:
    hugo-version: '0.87.0'
    extended: true

For more examples and options, see the documentation.

silly me, thank you!

1 Like

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