Skip to content

Serialize the workflows that push to the gh-pages branch - #173

Merged
jessealama merged 1 commit into
mainfrom
fix-gh-pages-deploy-race
Sep 30, 2026
Merged

jessealama merged 1 commit into
mainfrom
fix-gh-pages-deploy-race

Conversation

@jessealama

Copy link
Copy Markdown
Collaborator

This PR fixes the intermittent staleness of the published spec. With our current setup, merging a PR starts two workflows that both push to the gh-pages branch: (1) the deploy of main, and (2) the removal of the PR preview. When the preview removal lands while the deploy is still running, the deploy push is rejected, so the site keeps serving the previous build. The proposed solution is to put both workflows in one GH concurrency group, which makes them run one at a time.

@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://tc39.github.io/proposal-amount/pr-preview/pr-173/

Built to branch gh-pages at 2026-09-30 00:05 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@gibson042 gibson042 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@jessealama
jessealama merged commit 51f10dc into main Sep 30, 2026
4 checks passed
@jessealama
jessealama deleted the fix-gh-pages-deploy-race branch September 30, 2026 04:10
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.

2 participants