Skip to content

Retry Pages deploy on transient GitHub failures#16

Merged
eman merged 1 commit into
mainfrom
bugfix/pages-deploy-retry
Jul 3, 2026
Merged

Retry Pages deploy on transient GitHub failures#16
eman merged 1 commit into
mainfrom
bugfix/pages-deploy-retry

Conversation

@eman

@eman eman commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • keep the current Node 24 GitHub Pages action versions
  • add a second actions/deploy-pages@v5 attempt when the first attempt fails
  • fail the job only if both deploy attempts fail
  • set environment URL from retry output when present, otherwise primary output

Why

The docs build and artifact upload are consistently succeeding, but the deploy action intermittently fails with 'Deployment failed, try again later.' on push-triggered runs. The same commit can pass on workflow_dispatch, indicating a transient Pages backend failure rather than a content/build issue. This adds automatic recovery for that failure mode.

@eman
eman merged commit 540e5f4 into main Jul 3, 2026
5 checks passed
@eman
eman deleted the bugfix/pages-deploy-retry branch July 3, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant