Repository navigation
ci(desktop-hub): redeploy website after syncing updater manifest - #241
Merged
Merged
Conversation
Pushes made with GITHUB_TOKEN don't trigger deploy-pages, so the synced latest.json and the /downloads page stayed stale after each release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PkCLENgix55xUjLAmUfrK6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by nicochikuji · project thread
Summary
After the v0.1.29 release, boing.network/downloads still showed an older Hub version and
boing.network/hub-updater/latest.jsonstill said 0.1.28. That URL is the updater's primary endpoint, so installed apps would not see the new version.Cause: the release workflow's sync job commits
latest.jsonto main withGITHUB_TOKEN. Pushes made with that token do not trigger other workflows, so Deploy to Cloudflare Pages never ran for the sync commit. The last deploy came from the version-bump merge, which ran before the release was published, so its build-time fetch of the release list also returned the previous version.Fix: the sync job now dispatches
deploy-pages.ymlon main after it commits.workflow_dispatchis the documented exception to that rule. The job gainsactions: writefor this.I already dispatched a manual deploy of main (e464fea) to fix the live site for v0.1.29.
Test plan
workflow_dispatchdeploy-pages run right after the sync jobGenerated by Claude Code