Skip to content

Publish language snapshot to a data branch - #47

Merged
ewanc26 merged 1 commit into
mainfrom
fix/languages-data-branch
Oct 1, 2026
Merged

ewanc26 merged 1 commit into
mainfrom
fix/languages-data-branch

Conversation

@ewanc26

@ewanc26 ewanc26 commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Daily workflow failed pushing to protected main; it now commits the snapshot to an unprotected data branch
  • Homepage fetches github-languages.json from the data branch, falling back to the bundled snapshot, then live REST
  • Avoids daily Vercel redeploys

Test plan

  • CI passes
  • Run "Update GitHub languages" after merge; data branch appears
  • Homepage language bar still renders

🤖 Generated with Claude Code

main is protected, so the daily workflow could not push. It now writes the
JSON to an unprotected data branch; the homepage reads it from
raw.githubusercontent.com and falls back to the bundled snapshot.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
website Ready Ready Preview Oct 1, 2026 7:49pm UTC

@ewanc26
ewanc26 merged commit 7fb1641 into main Oct 1, 2026
5 checks passed
@ewanc26
ewanc26 deleted the fix/languages-data-branch branch October 1, 2026 19:55

This branch was successfully deployed

1 active deployment
Preview — 23bf2a70 Deployed Oct 1, 2026 by vercel[bot]
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