Closed Ran-n closed 2 years ago
What problem do you encounter while using the default script? I suspect that you need to comment out extended: true
since Monochrome uses SCSS.
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true
BTW, PRs are always welcome to improve the document.
It breaks on the Build order
Run hugo --minify
Start building sites …
hugo v0.96.0-2fd[4](https://github.com/Ran-n/minecraft_info/runs/5805223648?check_suite_focus=true#step:4:4)a7d3d684[5](https://github.com/Ran-n/minecraft_info/runs/5805223648?check_suite_focus=true#step:4:5)e75f8b8ae3a2a7bd914389[6](https://github.com/Ran-n/minecraft_info/runs/5805223648?check_suite_focus=true#step:4:6)7bbb linux/amd64 BuildDate=2022-03-26T09:15:58Z VendorInfo=gohugoio
Error: Error building site: TOCSS: failed to transform "scss/core.scss" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS.: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
Total in 142 ms
Error: Process completed with exit code 255.
You can check it out here if its easier.
BTW, PRs are always welcome to improve the document.
I'll keep it mind, but i would want to PR a page with wrong information.
As I mentioned above, Monochrome uses SCSS, so you need to set extended: true
in Setup Hugo
. (It's commented out if you directly copy from the tutorial.) The error message says the same thing.
Check your Hugo installation; you need the extended version to build SCSS/SASS.
Yea, you right. I missread. My fault. I'll try and make a PR about it.
Hi again, Im thinking that expanded documentation on how to deploy the server would be needed. It is explained how to do it in local but not really on GH pages. You only provide a link to your own yml file. The issue is that by using de default script provided by hugo here the site fails to deploy in this new update and before it was working.