You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deploy-release: push the release's notebooks to a series' companion repository, in a job of its own #356
The follow-up to #355, as agreed with this repository's maintainers: the deploy-release workflow's first release deploys and rolls back, but doesn't yet push the notebooks.
What. A series that serves its notebooks to Colab keeps a companion repository, such as QuantEcon/lecture-python.notebooks, and its own publish pushes the built notebooks there today. Once the series is published through releases (QuantEcon/project-monorepo#78), the release's archive holds _notebooks/, and the push belongs beside the deploy.
The conditions, from the design Matt approved on 2026-11-26 ("Approve, with the refinements", relayed by the organiser session):
the push runs in a job of its own, never in the Pages job;
with a secret of its own, declared by name in on.workflow_call.secrets and passed by name (never secrets: inherit);
it is optional: a series with no companion repository passes no repository and no secret.
Why it waits. The series push in two ways today. intro and advanced replace the companion repository's contents, so a retired lecture's notebook goes. programming, intermediate and jax copy the notebooks over it and delete nothing. Which of the two the shared job does is an open question for Matt, part of his tidy-up of the companion repositories (QuantEcon/project-monorepo#143 records the longer-term idea of a single notebooks repository). Once he has settled it, this job follows in a pull request of its own, with its chapter and a canary proof.
The owner's ruling, 2026-11-28 (AEDT), recorded from the project-monorepo session. Asked whether a release's push of a site's notebooks to its companion .notebooks repository should mirror or copy, Matt chose: "Mirror, every site (Recommended)".
What that means for this job:
Mirror. The job replaces the companion repository's contents with the release's notebooks, as intro and advanced do today. A retired lecture's notebook goes with the next release. Programming, intermediate and jax copy over the top today and delete nothing. They take the mirror at their cutovers, and their stale notebooks go then: 25 in lecture-python.notebooks, and lecture-jax.notebooks holds 47 notebooks for jax's 33 pages.
dp. In the same round Matt chose "Create it; fill at cutover (Recommended)". dp's Colab button points at QuantEcon/lecture-dp.notebooks, which doesn't exist yet. Matt creates it empty and public, and dp's releases fill it through this job from dp's cutover.
So this issue no longer waits on a decision. The job follows in a pull request of its own, with its chapter and a canary proof, as the body says. It's written from the monorepo side and reviewed here, per the owner's "monorepo writes, actions reviews" of 2026-11-26. The conditions in the body are unchanged: a job of its own, a secret of its own passed by name, and optional for a series with no companion repository.
Activity
deploy-release: the review's changes (#355)
deploy-release: the second review's changes (#355)
feat: deploy-release, a reusable workflow that deploys a release to G…
mmcky commentedon Nov 28, 2026
The owner's ruling, 2026-11-28 (AEDT), recorded from the project-monorepo session. Asked whether a release's push of a site's notebooks to its companion
.notebooksrepository should mirror or copy, Matt chose: "Mirror, every site (Recommended)".What that means for this job:
lecture-python.notebooks, andlecture-jax.notebooksholds 47 notebooks for jax's 33 pages.QuantEcon/lecture-dp.notebooks, which doesn't exist yet. Matt creates it empty and public, and dp's releases fill it through this job from dp's cutover.So this issue no longer waits on a decision. The job follows in a pull request of its own, with its chapter and a canary proof, as the body says. It's written from the monorepo side and reviewed here, per the owner's "monorepo writes, actions reviews" of 2026-11-26. The conditions in the body are unchanged: a job of its own, a secret of its own passed by name, and optional for a series with no companion repository.