git ref refs/heads/dashboard-angular 不存在或您没有权限
git ref refs/heads/dashboard-angular does not exist or you do not have permission
我在尝试将我的 Angular 应用程序从 bitbucket 部署到 Netlify 时遇到以下错误。
这些是 neatlify 日志。
11:38:49 PM: Build ready to start
11:38:51 PM: build-image version: 7c49b266ed8abd833dee6036ec0a4b9ee887658a
11:38:51 PM: buildbot version: f58df58ab0bceffdcb8d1e60fec992495a2a6751
11:38:51 PM: Fetching cached dependencies
11:38:51 PM: Starting to download cache of 254.8KB
11:38:51 PM: Finished downloading cache in 129.507361ms
11:38:51 PM: Starting to extract cache
11:38:51 PM: Failed to fetch cache, continuing with build
11:38:51 PM: Starting to prepare the repo for build
11:38:52 PM: git ref refs/heads/dashboard-angular does not exist or you do not have permission
11:38:52 PM: Failing build: Failed to prepare repo
11:38:52 PM: failed during stage 'preparing repo': git ref refs/heads/dashboard-angular does not exist
11:38:52 PM: Finished processing build request in 833.373404ms
发生这种情况通常是因为 Netlify 没有权限拉取您的源代码。 Netlify 仅通过 Deploy Key 访问存储库。
Netlify 无法在任何 git 服务(GitHub、GitLab 或 BitBucket)上自动安装部署密钥,除非用户中的 installing/logged 具有管理访问权限。
在获得适当的权限并通过 Netlify 的 UI 重新链接后,部署密钥已成功安装并拉入 Netlify 的 CI 工作得更好。
Netlify's helpdesk 可以在管理权限不可用的情况下就工作流程提出建议。
我在尝试将我的 Angular 应用程序从 bitbucket 部署到 Netlify 时遇到以下错误。
这些是 neatlify 日志。
11:38:49 PM: Build ready to start
11:38:51 PM: build-image version: 7c49b266ed8abd833dee6036ec0a4b9ee887658a
11:38:51 PM: buildbot version: f58df58ab0bceffdcb8d1e60fec992495a2a6751
11:38:51 PM: Fetching cached dependencies
11:38:51 PM: Starting to download cache of 254.8KB
11:38:51 PM: Finished downloading cache in 129.507361ms
11:38:51 PM: Starting to extract cache
11:38:51 PM: Failed to fetch cache, continuing with build
11:38:51 PM: Starting to prepare the repo for build
11:38:52 PM: git ref refs/heads/dashboard-angular does not exist or you do not have permission
11:38:52 PM: Failing build: Failed to prepare repo
11:38:52 PM: failed during stage 'preparing repo': git ref refs/heads/dashboard-angular does not exist
11:38:52 PM: Finished processing build request in 833.373404ms
发生这种情况通常是因为 Netlify 没有权限拉取您的源代码。 Netlify 仅通过 Deploy Key 访问存储库。 Netlify 无法在任何 git 服务(GitHub、GitLab 或 BitBucket)上自动安装部署密钥,除非用户中的 installing/logged 具有管理访问权限。
在获得适当的权限并通过 Netlify 的 UI 重新链接后,部署密钥已成功安装并拉入 Netlify 的 CI 工作得更好。
Netlify's helpdesk 可以在管理权限不可用的情况下就工作流程提出建议。