Netlify部署失败,因为缺少git /head引用

4xrmg8kj  于 2022-12-21  发布在  Git
关注(0)|答案(1)|浏览(132)

我不知道我是怎么陷入这种混乱的,但netlify现在无法在PR上部署我的部署预览。这不是权限问题,我已经尝试过从我的repo链接和取消链接,甚至启动新的PR。以下是netlify部署日志:

9:42:31 AM: build-image version: 4c0c1cadee6a31c9bb8d824514030009c4c05c6a (focal)
9:42:31 AM: build-image tag: v4.15.0
9:42:31 AM: buildbot version: b667c0cf0472892d6662aeba3d9a940e2b5df93d
9:42:32 AM: Fetching cached dependencies
9:42:32 AM: Starting to download cache of 214.7MB
9:42:33 AM: Finished downloading cache in 1.664553483s
9:42:33 AM: Starting to extract cache
9:42:35 AM: Finished extracting cache in 1.657643193s
9:42:35 AM: Finished fetching cache in 3.360637578s
9:42:35 AM: Starting to prepare the repo for build
9:42:35 AM: git ref pull/27/head does not exist or you do not have permission
9:42:35 AM: Creating deploy upload records
9:42:35 AM: Failing build: Failed to prepare repo
9:42:35 AM: Failed during stage 'preparing repo': git ref pull/27/head does not exist
9:42:36 AM: Finished processing build request in 4.17824995s

我已经检查了我的远程引用,发现pull/27/head确实丢失了,但是pull/27/merge确实存在。

u5rb5r59

u5rb5r591#

这最终成为一个github中断,与我的代码完全无关。

相关问题