
[英]sudden github page error: Github Build and Deploy Error: No uploaded artifact was found
[英]Github Build and Deploy Error: No uploaded artifact was found
我正在尝试部署 github.io 博客,但在构建和部署方面遇到问题。 我可以在本地服务器上毫无问题地构建文件,但是当我尝试通过推送它在 github 服务器上发布它时,它会抛出一个构建和部署错误:
错误:错误:找不到上传的工件!
这是我的 git 回购链接以获取更多信息: https://github.com/dailyole/dailyole.github.io/runs/4677505925?check_suite_focus=true
几周前,我能够在 github.io 上毫无问题地发布相同的文件,但现在会抛出错误。
在我的情况下,我的问题是由一些错误的子模块引用引起的: https://github.com/catalin-hritcu/catalin-hritcu.github.io/actions/runs/1643762494
No url found for submodule path 'teaching/epit2018' in .gitmodules
这些天这似乎是一个常见问题: https://github.community/t/failed-to-publish-static-site-spa-with-submodules/219880
它使用如下命令修复了它:
git rm --cached teaching/epit2018
不过,这对你来说似乎不是问题。
据我所知,您的问题与我的不同: https://github.com/dailyole/dailyole.github.io/runs/4677504175?check_suite_focus=true
github-pages 223 | Error: The jekyll-theme-hydejack theme could not be found.
我也遇到了这个问题,我的 git 回购是: github-pages 223 | Error: File to import not found or unreadable: mixins/reset-filter.
github-pages 223 | Error: File to import not found or unreadable: mixins/reset-filter.
然后我看到有问题的路径,我发现这个文件没有上传。 该文件夹包含太多文件,我没有再次检查它。 可能您需要检查某些文件是否未上传。
意识到当您的 GitHub 存储库中有一个空子模块时会发生此问题。 删除了空子模块,它现在可以工作了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.