Repository navigation
Read release info from the bucket and deploy on merge - #1
Merged
Merged
Conversation
The download page, the version badge and the roadmap's "Current" entry now read the installer info that the Mapee Release workflow uploads to the Google Cloud Storage bucket on every release. The site no longer needs a commit and redeploy for each Mapee release. If the bucket can't be reached, the site falls back to the bundled public/info/installer-info.xml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a Deploy workflow that runs on every push to main. It runs the same `npm run deploy` as before (angular-cli-ghpages pushes the build to gh-pages), so the site no longer has to be deployed from a laptop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 tasks done
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.
Summary
This is the website half of the Mapee release automation (Voxelview/Mapee#15). After it merges, a Mapee release no longer requires any website change, and merging to
maindeploys the site automatically.What changed
InstallerInfoServicenow fetcheswebsite/installer-info.xmlfrom themapee_update_bucket_goldentadpolebucket. The Mapee Release workflow uploads that file on every release. If the bucket can't be reached, the site falls back to the bundledpublic/info/installer-info.xml. This drives the download page and the version badge in the title bar..github/workflows/deploy.ymlruns on every push tomain, and can also be started by hand. It runs the samenpm run deployas before: angular-cli-ghpages pushes the build togh-pages, which Pages already serves. Nothing changes in the Pages settings.Notes for review
https://mapee.net,https://www.mapee.netandhttp://localhost:4200; I checked it answers withAccess-Control-Allow-Origin: https://mapee.net. Until Mapee's first automated release uploads the bucket file, the site uses the fallback, so the page shows exactly what it shows today.GITHUB_TOKENwithcontents: write, so no secret needs adding. angular-cli-ghpages adds the token to the push URL itself.public/CNAMEis copied into the build, and the tool still creates404.html(so SPA routes work) and.nojekyll.Testing
ng buildsucceeds.npm run deploy -- --dry-runwith the workflow's arguments targetsgh-pageson this repo, with the bot's commit identity,404.htmland.nojekyll.🤖 Generated with Claude Code