chore(app): auto-deploy UI to Cloudflare Pages + fix README competitor link#26
Merged
Conversation
The surplus-market Pages project is Direct-Upload (no git integration) and had no CI deploy, so it silently froze: the live site was 73 commits / ~15 app commits behind main (last manual upload 2026-06-12), still missing partial resale, the SOR in Buy/ModelMarket, the spend-rail API-key UI, and carrying already-fixed bugs (/activity crash, EIP-712 drift). Add a deploy-app workflow that builds app/ and uploads to Pages (production alias) on every push to main touching app/, plus workflow_dispatch for manual redeploys. Needs repo secrets CLOUDFLARE_API_TOKEN + CLOUDFLARE_ACCOUNT_ID (set on the Tangle account). Also fix the README hero link, which pointed at a competitor domain instead of the actual app.
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.
Why
The
surplus-marketCloudflare Pages project is Direct-Upload (no git integration) and there was no CI deploy job — so the live site silently froze at the last manual upload (commitb099b7d, 2026-06-12). By 2026-06-14 it was 73 commits / ~15 app commits behindmain, missing partial resale, the SOR in Buy/ModelMarket, the spend-rail API-key UI, and still carrying already-fixed bugs (/activitycrash8751f84, EIP-712 drift75f9e3c).The current
mainhas already been manually redeployed to production (canonical deployment nowda71dd9, verified via the CF API + the live bundle hash). This PR makes that permanent.What
.github/workflows/deploy-app.yml— buildsapp/and uploads to Pages (production alias) on every push tomaintouchingapp/**, plusworkflow_dispatchfor manual redeploys. Requires repo secretsCLOUDFLARE_API_TOKEN+CLOUDFLARE_ACCOUNT_ID(already set on the Tangle account).surplusintelligence.ai(a competitor) tosurplus-market.pages.dev(the actual app).Notes
masterwhile the repo works onmain; for a Direct-Upload project--branchis only the production/preview selector, so the workflow deploys with--branch=masterto land on the production alias. Documented inline.🤖 Generated with Claude Code