Skip to content

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

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 (#187, with the translation-sync PR #186; 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
@netlify

netlify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for majestic-griffin-10b166 ready!

Name Link
🔨 Latest commit 547c261
🔍 Latest deploy log https://app.netlify.com/projects/majestic-griffin-10b166/deploys/6b03e5ca6d5257dfdaf1b7f4
😎 Deploy Preview https://deploy-preview-188--majestic-griffin-10b166.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown

@mmcky
mmcky merged commit f4903d1 into main Nov 23, 2026
8 checks passed
@mmcky
mmcky deleted the ci/cache-dispatch branch November 23, 2026 07:11

This branch was successfully deployed

1 active deployment
pull request — 547c2614 Deployed Nov 23, 2026 by github-actions[bot]
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