nunocoracao / blowfish

Personal Website & Blog Theme for Hugo
https://blowfish.page
MIT License
1.37k stars 384 forks source link

ERROR render of "page" failed" when deploy to github pages #1709

Closed CommanderKen closed 1 week ago

CommanderKen commented 2 weeks ago

I'm used to deploy my personal website with blowfish and github pages and until recently, everything was working properly. Now, when I start a new deploy, I have this error in my github actions:

ERROR render of "page" failed: "/home/runner/work/commanderken.github.io/commanderken.github.io/themes/blowfish/layouts/_default/baseof.html:8:4": execute of template failed: template: _default/single.html:8:4: executing "_default/single.html" at <partial "head.html" .>: error calling partial: partial "head.html" timed out after 30s. This is most likely due to infinite recursion. If this is just a slow template, you can try to increase the 'timeout' config setting. Total in 30277 ms Error: error building site: render: failed to render pages: render of "page" failed: "/home/runner/work/commanderken.github.io/commanderken.github.io/themes/blowfish/layouts/_default/baseof.html:8:4": execute of template failed: template: _default/single.html:8:4: executing "_default/single.html" at <partial "head.html" .>: error calling partial: partial "head.html" timed out after 30s. This is most likely due to infinite recursion. If this is just a slow template, you can try to increase the 'timeout' config setting. Process completed with exit code 1.

CommanderKen commented 2 weeks ago

I solved with the same workaround suggested in this issue: https://github.com/nunocoracao/blowfish/issues/1595 I set the timeout https://gohugo.io/getting-started/configuration/#timeout to 180 seconds at which point the build succeeded.