Add Hugo site and Firebase Hosting (preview deploy) - #26
Merged
Merged
Conversation
Rebuild the MOSAIC marketing site in Hugo with the same layout and content as the existing static site, and wire GitHub Actions for Firebase preview deploys on PRs and live deploys on main. Co-authored-by: Cursor <cursoragent@cursor.com>
The hosting deploy action creates GitHub check runs when posting preview URLs. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Visit the preview URL for this PR (updated for commit 37d64ce): https://mozaic-56ca8--pr26-firebase-hugo-hostin-kno85w8k.web.app (expires Thu, 11 Jun 2026 17:42:35 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: ce324a54b3966da2685f33626583cb325e08078c |
Patch the live channel retainedReleaseCount before each production deploy so rollback history stays capped. Co-authored-by: Cursor <cursoragent@cursor.com>
Uses Firebase CLI credentials locally and the service account in CI to cap retained releases on all hosting channels. Co-authored-by: Cursor <cursoragent@cursor.com>
Document hosting retention and privacy-friendly analytics in README and CONTRIBUTING; load credentials from firebase-service-account.json or FIREBASE_SERVICE_ACCOUNT. Co-authored-by: Cursor <cursoragent@cursor.com>
Collaborator
|
Congratulations to PR 1! |
2 tasks
This branch was previously deployed
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
mozaic-56ca8/ sitemozaic-56ca8main(after merge)scripts/set-hosting-retention.jshttps://mosaic.goatcounter.com)Workflow permissions
contents: read,pull-requests: write,deployments: write,checks: writecontents: read,deployments: write,checks: writePreview
Firebase preview deploy is working on this PR. Check the bot comment for the current preview URL.
Test plan
FIREBASE_SERVICE_ACCOUNTsecret set onOWASP/MOSAICmainfor first live deploy tohttps://mozaic-56ca8.web.app