GitHub Pages deployment fails at deploy-pages@v5 — "Deployment failed, try again later" #200823
-
🏷️ Discussion TypeBug 💬 Feature/Topic AreaARC (Actions Runner Controller) Discussion DetailsTitle: GitHub Pages deployment fails at deploy-pages@v5 — "Deployment failed, try again later" Artifact upload and deployment creation succeed, but the final step consistently fails:
Is this a known issue, or is there something else I should check? |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 14 replies
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Since the artifact upload and deployment creation both succeed, the workflow itself appears to be working. The failure is happening during the final GitHub Pages deployment step, which suggests the issue is either with the Pages deployment service or the repository's Pages configuration. Here are a few things I'd check:
If all of the above looks correct and you're still getting: despite multiple retries over several hours, it may be worth opening a GitHub Support ticket with the workflow run URL, deployment ID, and repository details so they can investigate the backend deployment failure. As an alternative: if you need your site online immediately, you could temporarily deploy it to Vercel or Netlify while investigating the GitHub Pages issue. They both work well with static sites like MkDocs. However, I'd still recommend identifying the root cause of the GitHub Pages deployment failure rather than switching platforms solely because of this error. |
Beta Was this translation helpful? Give feedback.
-
|
I have the same issue. Since yesterday github pages deployment process is failing: |
Beta Was this translation helpful? Give feedback.
-
|
Deploy from a branch still failing this morning, but switching to Actions worked. |
Beta Was this translation helpful? Give feedback.
-
|
The suggested fix does not work at all. Why is this broken? I cannot use GitHub Actions. I have to use the branch and a different directory than root. And no amount of switching between them is doing anything. Also why does the status page not show a downtime for this? |
Beta Was this translation helpful? Give feedback.
-
|
still happening for me, using "deploy from a branch". super annoying when every other deployment fails and there's absolutely 0 indication of this on the status page |
Beta Was this translation helpful? Give feedback.
-
|
I’d like to share my recovery example for the “Deploy from a branch” case. In my repository, GitHub Pages was configured as:
A custom workflow that publishes files to the The first failure looked like a timeout after about 10 minutes. After that, retries failed much faster, usually within 10-20 seconds. What fixed it for me was re-applying the existing Pages branch settings via the REST API, then publishing a fresh commit to the configured Pages branch: gh api -X PUT repos/OWNER/REPO/pages \
-f build_type=legacy \
-f 'source[branch]=gh-pages' \
-f 'source[path]=/'Then I re-ran my own publishing workflow, which force-pushed a new commit to After that, the GitHub-created So for repositories that must keep using “Deploy from a branch”, it may be worth checking whether the saved Pages settings or referenced branch commit are stale or internally inconsistent. Re-applying the same Pages source settings, then pushing a fresh commit to the selected branch, recovered my repository. I’m not sure about the root cause, but this looks related to the same class of issue where toggling the Pages source in Settings resets some internal Pages state. full (Japanese): https://nikkie-ftnext.hatenablog.com/entry/github-actions-deploy-pages-error-deployment-failed-try-again-later-202607 |
Beta Was this translation helpful? Give feedback.
-
|
same problems, Build and deployment Source Deploy from a branch Branch Your GitHub Pages site is currently being built from the gh-pages branch. Learn more about configuring the publishing source for your site. gh-pages/ (root) |
Beta Was this translation helpful? Give feedback.
-
|
This should be unmarked as "solved". Pages are busted right now... |
Beta Was this translation helpful? Give feedback.
-
|
I am having the same issue. Manually retrying a few times usually solves it but very annoying. |
Beta Was this translation helpful? Give feedback.
-
|
Deployments failing randomly (most of the time) in the last 3 days at least. |
Beta Was this translation helpful? Give feedback.
-
|
Same issues here, Deployments failing randomly, while some make it through. Sometimes when i rerun all jobs it goes through. |
Beta Was this translation helpful? Give feedback.


Hmmm after changing source to GitHub Actions it went through.