Hello,
I’m running the Hugo build command using hugo-installler. This npm package installs Hugo in the bin/hugo
folder using a postinstall script. Local production builds + GitHub CI builds always run successfully.
When using Netlify, building my Netlify site only succeeds when clicking Trigger deploy > Clear cache and deploy site. See e.g. Netlify App
In all other cases /when the cache is used, building my Netlify site fails. See e.g. Netlify App
- Code: GitHub - gethyas/hyas: Framework for building Hugo websites faster
- Netlify site: https://hyas.netlify.app
- GitHub CI: test: trigger failed netlify build · gethyas/hyas@77e4a46 · GitHub
- netlify.toml: hyas/netlify.toml at master · gethyas/hyas · GitHub
How can I make it always work OK?