Error: Process completed with exit code 255 for Github Deploy

Hi all,

My hugo site which is built using github actions is failing to deploy with the following error. I am not sure what to do about it.

Run hugo --minify
Start building sites … 
hugo v0.87.0-B0C541E4 linux/amd64 BuildDate=2021-08-03T10:57:28Z VendorInfo=gohugoio
WARNING: calling IsSet with unsupported type "ptr" (*hugolib.SiteInfo) will always return false.
Error: Error building site: TOCSS: failed to transform "scss/style.scss" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS.
Total in 61 ms
Error: Process completed with exit code 255.

I am using the github action code provided by the official documentation here

Hi there,

As the error message states, you need to use the extended version of Hugo.

The documentation for the GitHub action has instructions for how to use the extended version of Hugo: Hugo setup · Actions · GitHub Marketplace · GitHub