Skip to content

ci(release): rebuild the site after a stable release - #47

Merged
arifintahu merged 1 commit into
mainfrom
ci/site-deploy-hook
Nov 9, 2026
Merged

arifintahu merged 1 commit into
mainfrom
ci/site-deploy-hook

Conversation

@arifintahu

Copy link
Copy Markdown
Member

What and why

The landing page (emberterm-web) reads the latest release at build time and nothing rebuilt it, so it still showed 1.0.0 after 1.1.0 shipped. A new site job in the Release workflow posts to a Vercel deploy hook after every platform job succeeds, so the .exe, .msi and .dmg the site build checks for are on the release. Pre-releases skip it; without the SITE_DEPLOY_HOOK_URL secret it only warns. Documented in CONTRIBUTING.md.

Needs before it works: create a Vercel deploy hook for emberterm-web (main) and add it as the repo secret SITE_DEPLOY_HOOK_URL.

How you checked it

  • cargo fmt --check, cargo clippy -- -D warnings and cargo test pass
  • pnpm turbo check test build and pnpm version:check pass
  • Workflow YAML parses; the new job only runs on a tag push, so it is untested until the next release
  • No secrets, personal paths or machine names in the diff
  • Bug-fix test and CHANGELOG: not applicable (CI only, no app behaviour change)

The landing page reads the latest release at build time, so it kept
showing the old version. Post to a Vercel deploy hook once every
platform job has uploaded its assets.
@arifintahu
arifintahu merged commit 2a232b2 into main Nov 9, 2026
4 checks passed
@arifintahu
arifintahu deleted the ci/site-deploy-hook branch November 9, 2026 01:23
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