Skip to content

Allow cache.yml to be run by hand - #115

Merged
mmcky merged 1 commit into
mainfrom
ci/cache-dispatch
Nov 23, 2026
Merged

mmcky merged 1 commit into
mainfrom
ci/cache-dispatch

Conversation

@mmcky

@mmcky mmcky commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

What

Adds a workflow_dispatch trigger to cache.yml, so a fresh full build of main or of a branch can be run by hand. The English edition and the zh-cn edition already have one. The push-to-main trigger is unchanged.

Why now

A package upgrade on a series that drives a live site gets a full validation before it merges: fresh builds of main and of the branch on the same day, every lecture executed, compared for new warnings, cell errors and page changes. This edition's cache.yml runs only on a push to main, and its PR previews reuse main's build cache, so neither side could be built fresh on demand. The first use is the jax 0.12.1 move (#114, with the translation-sync PR #111; context in QuantEcon/workspace-lectures#49).

A run dispatched on a branch uploads its build-cache under that branch; ci.yml and publish.yml download build-cache from main only, so a branch run can't reach a preview or the site.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMbNM8AQVCt2pfV5GGX

Adds a workflow_dispatch trigger, as the English edition and the
zh-cn edition already have, so a fresh full build of main or of a
branch can be run on demand: for validating a package upgrade
before it merges. The push-to-main trigger is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT8bMbNM8AQVCt2pfV5GGX
@github-actions

Copy link
Copy Markdown

📖 Netlify Preview Ready!

Preview URL: https://pr-115--verdant-toffee-3261a8.netlify.app

Commit: b3b41a8


Build Info

@mmcky
mmcky merged commit 5b8a68b into main Nov 23, 2026
3 checks passed
@mmcky
mmcky deleted the ci/cache-dispatch branch November 23, 2026 08:09
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