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 - h-enk/hyas: Hugo starter helping you build modern websites
- Netlify site: https://hyas.netlify.app
- GitHub CI: test: trigger failed netlify build · h-enk/hyas@77e4a46 · GitHub
- netlify.toml: hyas/netlify.toml at master · h-enk/hyas · GitHub
How can I make it always work OK?