I am getting an error in the build phase on GitHub by the following command: hugo --minify
on localhost the website is compiling without any problems but on git the compilation fails each time i commit something to main. can anyone give me a hint what could be the problem here?
Error:
Error: Error building site: failed to render pages: render of “home” failed: execute of template failed: template: index.html:58:18: executing “index.html” at <partial (printf “sections/%s.html” (replace (lower .section.id) " " “-”)) .>: error calling partial: execute of template failed: template: partials/sections/skills.html:17:11: executing “partials/sections/skills.html” at <partial “cards/skill.html” .>: error calling partial: “/home/runner/work/SSeptimiu.github.io/SSeptimiu.github.io/themes/toha/layouts/partials/cards/skill.html:8:29”: execute of template failed: template: partials/cards/skill.html:8:29: executing “partials/cards/skill.html” at <$logoImage.MediaType.SubType>: nil pointer evaluating resource.Resource.MediaType