MioIsland/.github
徐翔宇 db3d154a02 ci: auto-trigger landing redeploy when a GitHub release is published
Companion to the VITE_LATEST_VERSION injection in landing/deploy-landing.yml.
That workflow reads the latest release tag at build time, but it only
runs on pushes to the landing-page branch. This workflow listens for
release events on main (published / edited / released) and dispatches
deploy-landing so the Mac DMG download link gets refreshed without a
manual commit to landing-page.

Flow:
  1. Admin runs release.sh and `gh release create vX.Y.Z ...`
  2. GitHub fires `release: published`
  3. This workflow dispatches deploy-landing.yml on landing-page
  4. deploy-landing fetches the new tag and rebuilds the site

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 00:44:29 +08:00
..
workflows ci: auto-trigger landing redeploy when a GitHub release is published 2026-04-19 00:44:29 +08:00