GitHub Pages部署失败。

7

在尝试部署我的 Github 页面时,这个错误会间歇性地弹出。我不知道该怎么办,我已经删除并重新创建了仓库,但错误仍然存在。我所有 Github 页面仓库都有同样的问题。

以下是一个仓库示例:https://github.com/cnftstats/borgs

Run actions/deploy-pages@v1
Actor: github-pages[bot]
Action ID: 1998855719
Artifact URL: https://pipelines.actions.githubusercontent.com/odmqpuZ7yGar25NNWIM53v9pBjO9vEwDjecGIYtf9ECZfcxi8V/_apis/pipelines/workflows/1998855719/artifacts?api-version=6.0-preview
{"count":1,"value":[{"containerId":359584,"size":14684160,"signedContent":null,"fileContainerResourceUrl":"https://pipelines.actions.githubusercontent.com/odmqpuZ7yGar25NNWIM53v9pBjO9vEwDjecGIYtf9ECZfcxi8V/_apis/resources/Containers/359584","type":"actions_storage","name":"github-pages","url":"https://pipelines.actions.githubusercontent.com/odmqpuZ7yGar25NNWIM53v9pBjO9vEwDjecGIYtf9ECZfcxi8V/_apis/pipelines/1/runs/21/artifacts?artifactName=github-pages","expiresOn":"2022-06-15T13:26:01.9505756Z","items":null}]}
Creating deployment with payload:
{
    "artifact_url": "https://pipelines.actions.githubusercontent.com/odmqpuZ7yGar25NNWIM53v9pBjO9vEwDjecGIYtf9ECZfcxi8V/_apis/pipelines/1/runs/21/artifacts?artifactName=github-pages&%24expand=SignedContent",
    "pages_build_version": "bf8f96d22c5dd116a5d94ee24cd398bdda60035f",
    "oidc_token": "***"
}
Failed to create deployment for bf8f96d22c5dd116a5d94ee24cd398bdda60035f.
{"message":"Deployment request failed for bf8f96d22c5dd116a5d94ee24cd398bdda60035f due to in progress deployment. Please cancel e92de3f483b775a12d4f784d7cc661ff2847fa62 first or wait for it to complete.","documentation_url":"https://docs.github.com/rest/reference/repos#create-a-github-pages-deployment"}
Error: Error: Request failed with status code 400
Error: Error: Request failed with status code 400
Sending telemetry for run id 1998855719

有人提交了一个问题:https://github.com/actions/deploy-pages/issues/22 - mat
3个回答

14

GitHub Actions目前性能下降,并在其状态页面上发布了相关信息。因此,您很可能正在经历当前问题的副作用。其他用户也报告了同样的问题。请稍后重试,等待GitHub解决该问题。

更新:更多产品现在受到影响并出现性能下降。查看其状态页面以获取更多详细信息:https://www.githubstatus.com


这不仅是 Github Actions 的问题。我甚至不能再创建新存储库或更改我的用户设置了! - Sylvester Kruin
1
@SylvesterKruin已经更新了答案。谢谢。 - Matt

2
如果有人遇到500错误,请确保您已启用了来自“GitHub Actions”的构建和部署源。

设置 -> 页面部分 -> 构建和部署 -> 源:GitHub Actions


1

确保您删除之前失败的操作,然后只重新运行最新的操作。现在应该可以正常工作了。 - Zoran Pandovski

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接