sudden github page error: Github Build and Deploy Error: No uploaded artifact was found

sudden github page error: Github Build and Deploy Error: No uploaded artifact was found

我提交更改并将更改推送到我的 github 页面没有问题,但突然失败并出现此错误 Github 构建和部署错误:未找到上传的工件。 这是 github 页面工作流程:https://github.com/brian6484/brian6484.github.io/actions 我看过 Github Build and Deploy Error: No uploaded artifact was found 提出的类似问题,但我的问题似乎与他的不同,因为我的问题中途失败了。我缺少的这个神器是什么?

哦,终于找到解决办法了。工作流页面右侧的构建选项卡(不是默认的部署选项卡)显示错误原因,我的是这个

Liquid Exception: Liquid syntax error (line 147): Unknown tag 'endhighlight' error

,这是我在 md 文件中错误地格式化我的代码造成的。希望这可以帮助有类似问题的人! :)