Skip to content

website: move supacode.sh into the app repository - #956

Merged
khoi merged 6 commits into
mainfrom
khoi/supacode-website-location
Nov 18, 2026
Merged

khoi merged 6 commits into
mainfrom
khoi/supacode-website-location

Conversation

@khoi

@khoi khoi commented Nov 18, 2026

Copy link
Copy Markdown
Member

Closes #955

Summary

The Supacode landing page and download Worker currently deploy from a separate repository. Move them into the app repository so changes to the site and the release URLs it serves can be reviewed alongside the app. The website keeps its own Bun package under apps/supacode.sh, and website-only changes skip native tip publishing.

GitHub Actions builds the static export and deploys it to the existing Cloudflare Pages project. The production switch stays off while the PR preview is verified. After merge, the cutover disables the old workflow before enabling production publishing from this repository.

Type of change

  • Feature (the linked issue is a feature request marked ready)

How was this tested?

  • make check passes (format + lint)
  • make test passes
  • I built and ran the app to confirm the change works

make build-app passed. This change was exercised through the site and download Worker. A clean install, type check, static build, and all 12 Worker tests passed on macOS and Linux. The scoped package refactor preserved the rendered markup and Worker bytes and removed unused CSS rules.

The manual Pages preview served the homepage, stable and tip Sparkle feeds, and a versioned DMG whose SHA-256 matched its manifest. The DMG returned HTTP 206 on a range request.

AI tool disclosure

  • Model(s): OpenAI GPT-6.2 Sol and Anthropic Claude Opus 5.5
  • Harness / tools: Codex and Claude review agents

Checklist

  • This pull request is linked to an issue with Closes # above.
  • For a feature, the linked issue is labeled ready.
  • The human maintainer is the author of record. No commit is authored or co-authored by an AI agent.
  • I have read the Contributing guide and the Code of Conduct.

khoi added 6 commits November 17, 2026 19:53
Import the website and its download Worker from supabitapp/suparepo at
83088ceb8d0cc0e8b897b5d6acb637360442430c. Keep the workspace small so
contributors can build the site without installing tooling for other
products.

Build the Cloudflare export in a job with no deployment credentials.
Gate Pages preview and production uploads separately so the new pipeline
can be verified before it takes over production publishing.
Keep the landing page and its tooling in one directory so native
contributors do not need a JavaScript workspace at the repository root.
Remove the shared package wrappers and unused stylesheet dependencies
while preserving the rendered page and the release Worker.
@khoi khoi added the enhancement New feature or request label Nov 18, 2026
@khoi
khoi merged commit 2edca45 into main Nov 18, 2026
5 checks passed
@khoi
khoi deleted the khoi/supacode-website-location branch November 18, 2026 04:53

This branch was successfully deployed

1 active deployment
supacode-pages-preview — c032d0e0 Deployed Nov 18, 2026 by khoi via deploy #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move the Supacode landing site and deploy workflow

1 participant