Skip to content

chore(app): auto-deploy UI to Cloudflare Pages + fix README competitor link#26

Merged
drewstone merged 1 commit into
mainfrom
chore/pages-auto-deploy
Jun 14, 2026
Merged

chore(app): auto-deploy UI to Cloudflare Pages + fix README competitor link#26
drewstone merged 1 commit into
mainfrom
chore/pages-auto-deploy

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Why

The surplus-market Cloudflare 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 (commit b099b7d, 2026-06-12). By 2026-06-14 it was 73 commits / ~15 app commits behind main, missing partial resale, the SOR in Buy/ModelMarket, the spend-rail API-key UI, and still carrying already-fixed bugs (/activity crash 8751f84, EIP-712 drift 75f9e3c).

The current main has already been manually redeployed to production (canonical deployment now da71dd9, verified via the CF API + the live bundle hash). This PR makes that permanent.

What

  • .github/workflows/deploy-app.yml — builds app/ and uploads to Pages (production alias) on every push to main touching app/**, plus workflow_dispatch for manual redeploys. Requires repo secrets CLOUDFLARE_API_TOKEN + CLOUDFLARE_ACCOUNT_ID (already set on the Tangle account).
  • README hero link repointed from surplusintelligence.ai (a competitor) to surplus-market.pages.dev (the actual app).

Notes

  • The project's production branch is master while the repo works on main; for a Direct-Upload project --branch is only the production/preview selector, so the workflow deploys with --branch=master to land on the production alias. Documented inline.
  • Follow-up (not in this PR): scope the CF token down to Pages:Edit only; consider reconnecting native Git integration so previews build per-PR.

🤖 Generated with Claude Code

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.
@drewstone drewstone merged commit c7f82b2 into main Jun 14, 2026
8 checks passed
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