behavioral-ds/behavioral-ds.github.io

Removing the resources cache prior to push makes autobuild to fail

andrei-rizoiu opened this issue · 3 comments

The folder /resources/_gen contains auto-generated files (such as image thumbnails etc). The files in that folder are generated when running hugo. Removing them locally and re-running hugo regenerates the folder and build succeeds.

However, when removing the folder prior to pushing (or adding to /gitignore file) results in a failed build.

Looking into the Actions tab, the error points to versioning as the reason for the build fail. It might be the case that the version used for building by the auto-build is too old (0.60.1). I'm locally running 0.74.3; could you check what version you're running (hugo version)? We might need to update the version used in building.

The new update to the Action workflow fixed this as well. It appears we need to use the hugo extended versions which add support for SCSS.