-
I have been working on this for hours but I can't solve this problem. Everyting is working okay for a long time but github action started to fail a week ago. Here's the log of github action.
I try to create a new site at my PC and if I use any shortcode like notice it started to fail again.
Very hope that someone can help me >_< |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
On the action, you have a typo here: https://github.com/EM-Tec/EM-Tec.github.io/blob/main/.github/workflows/create.yml#L14
That will ensure the GitHub action grabs the submodules, which is how you're loading the theme. Right now it's not loading the theme, and so the On the PC version you have a different error message essentially saying the image you're referencing can't be found. (This is one place where Hugo Clarity could probably do a better version of an error message itself.) I would really triple-check that the path to the image you're referencing is correct, especially paying attention to whether you're using Page Bundles or not, because that affects how it gets resolved. You might try referencing some other images. If you try multiple images and it's not an issue with using/not using Page Bundles, then it's possible there's a bug in Hugo Clarity's image rendering. |
Beta Was this translation helpful? Give feedback.
-
Ok so for some reason, some of my image was broken. I reupload it and everything is alright. |
Beta Was this translation helpful? Give feedback.
Ok so for some reason, some of my image was broken. I reupload it and everything is alright.
I rebuild the whole site just in case anything is up to date. Thank you @rootwork