Skip to content

Commit 26caaeb

Browse files
fix: serialize GitHub Pages deploys to prevent queue issues
1 parent a0edc4a commit 26caaeb

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ permissions:
1010
pages: write
1111
id-token: write
1212

13-
# Allow one concurrent deployment, cancel in-progress runs on new pushes.
13+
# Serialize deploys: let an in-progress one FINISH, queue the next. Do NOT cancel —
14+
# cancelling a Pages deploy mid-flight wedges the `github-pages` environment queue, and the
15+
# next run then polls `deployment_queued` until it TIMES OUT (~10m). This bit us when a commit
16+
# + its submodule-pointer bump landed minutes apart. GitHub's own Pages starter uses `false`.
1417
concurrency:
1518
group: pages
16-
cancel-in-progress: true
19+
cancel-in-progress: false
1720

1821
jobs:
1922
build:

0 commit comments

Comments
 (0)