【Github Page】报错 Error: Creating Pages deployment failed Error: HttpError: Invalid artifact url

Problem Description

During the use of github.io, the commit failed. Check the log as follows:
Insert image description here

Run actions/deploy-pages@v2
Artifact exchange URL: https://pipelinesghubeus7.actions.githubusercontent.com/KUj1XWbeq9fEiMwdLvNDVvPgFf9BMTLeXMKUzPjB1S35G0vtrp/_apis/pipelines/workflows/6276113052/artifacts?api-version=6.0-preview
Creating Pages deployment with payload:
{
    
    
	"artifact_url": "https://pipelinesghubeus7.actions.githubusercontent.com/KUj1XWbeq9fEiMwdLvNDVvPgFf9BMTLeXMKUzPjB1S35G0vtrp/_apis/pipelines/1/runs/36/artifacts?artifactName=github-pages&%24expand=SignedContent",
	"pages_build_version": "9b20e1b7ae23b8310df73101bcbb7eb617ab99cf",
	"oidc_token": "***"
}
Error: Creating Pages deployment failed
Error: HttpError: Invalid artifact url
    at /home/runner/work/_actions/actions/deploy-pages/v2/webpack:/deploy-pages/node_modules/@octokit/request/dist-node/index.js:86:1
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at createPagesDeployment (/home/runner/work/_actions/actions/deploy-pages/v2/webpack:/deploy-pages/src/internal/api-client.js:126:1)
    at Deployment.create (/home/runner/work/_actions/actions/deploy-pages/v2/webpack:/deploy-pages/src/internal/deployment.js:80:1)
    at main (/home/runner/work/_actions/actions/deploy-pages/v2/webpack:/deploy-pages/src/index.js:30:1)
Error: Error: Failed to create deployment (status: 400) with build version 9b20e1b7ae23b8310df73101bcbb7eb617ab99cf. Responded with: Invalid artifact url

The error message is:

Error: Creating Pages deployment failed
Error: HttpError: Invalid artifact url
……
Error: Error: Failed to create deployment (status: 400) with build version 9b20e1b7ae23b8310df73101bcbb7eb617ab99cf. Responded with: Invalid artifact url

After searching, I found that many friends have encountered the same problem at this moment:
https://github.com/orgs/community/discussions/67961

Insert image description here

Insert image description here
Insert image description here
Insert image description here
It feels like it’s a problem with the github server:
https://github.com/actions/deploy-pages/issues/225
Insert image description here
It seems that all github pages cannot be deployed now.
It’s difficult.

Guess you like

Origin blog.csdn.net/qq_39441603/article/details/133190771