HEIGE-PCloud/DoIt

[BUG] deploy with githubAction failed

Closed this issue · 0 comments

Describe the bug 描述你遇到的错误

I moved from LoveIt. LoveIt is OK, DoIt failed.

Run hugo --minify
Start building sites … 
hugo v0.128.1-0ff542b4b9cc7b5cb425bbab8bdb5aace81d0c03+extended linux/amd64 BuildDate=2024-07-02T06:46:41Z VendorInfo=gohugoio

ERROR render of "section" failed: "/home/runner/work/faimin.github.io/faimin.github.io/themes/DoIt/layouts/_default/baseof.html:100:8": execute of template failed: template: _default/section.html:100:8: executing "_default/section.html" at <partial "assets.html" .>: error calling partial: "/home/runner/work/faimin.github.io/faimin.github.io/themes/DoIt/layouts/partials/assets.html:10:48": execute of template failed: template: partials/assets.html:10:48: executing "partials/assets.html" at <$js.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink
ERROR render of "page" failed: "/home/runner/work/faimin.github.io/faimin.github.io/themes/DoIt/layouts/_default/baseof.html:100:8": execute of template failed: template: _default/single.html:100:8: executing "_default/single.html" at <partial "assets.html" .>: error calling partial: "/home/runner/work/faimin.github.io/faimin.github.io/themes/DoIt/layouts/partials/assets.html:10:48": execute of template failed: template: partials/assets.html:10:48: executing "partials/assets.html" at <$js.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink
ERROR render of "taxonomy" failed: "/home/runner/work/faimin.github.io/faimin.github.io/themes/DoIt/layouts/_default/baseof.html:100:8": execute of template failed: template: taxonomy/terms.html:100:8: executing "taxonomy/terms.html" at <partial "assets.html" .>: error calling partial: "/home/runner/work/faimin.github.io/faimin.github.io/themes/DoIt/layouts/partials/assets.html:10:48": execute of template failed: template: partials/assets.html:10:48: executing "partials/assets.html" at <$js.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink
ERROR render of "term" failed: "/home/runner/work/faimin.github.io/faimin.github.io/themes/DoIt/layouts/_default/baseof.html:100:8": execute of template failed: template: taxonomy/list.html:100:8: executing "taxonomy/list.html" at <partial "assets.html" .>: error calling partial: "/home/runner/work/faimin.github.io/faimin.github.io/themes/DoIt/layouts/partials/assets.html:10:48": execute of template failed: template: partials/assets.html:10:48: executing "partials/assets.html" at <$js.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink
Total in 504 ms
Error: error building site: render: failed to render pages: render of "404" failed: "/home/runner/work/faimin.github.io/faimin.github.io/themes/DoIt/layouts/_default/baseof.html:100:8": execute of template failed: template: 404.html:100:8: executing "404.html" at <partial "assets.html" .>: error calling partial: "/home/runner/work/faimin.github.io/faimin.github.io/themes/DoIt/layouts/partials/assets.html:10:48": execute of template failed: template: partials/assets.html:10:48: executing "partials/assets.html" at <$js.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink

Expected behavior 期待的行为

success

Screenshots 屏幕截图

No response

Build Environment 构建环境

  node: v20.15.0
  npm: 10.7.0
  yarn: 1.22.22
  Hugo version: 0.128.1

  hugo v0.128.1-0ff542b4b9cc7b5cb425bbab8bdb5aace81d0c03+extended linux/amd64 BuildDate=2024-07-02T06:46:41Z VendorInfo=gohugoio

Preview Environment 预览环境

MacOS

Additional Information 补充信息

No response