I cant
Some checks failed
Build and Deploy / changes (push) Successful in 1s
Build and Deploy / deploy-lean (push) Failing after 1m1s
Build and Deploy / deploy (push) Successful in 3m31s

This commit is contained in:
2026-10-06 00:58:18 +02:00
parent e2c2c66d7f
commit 0f7c765d61
4 changed files with 107 additions and 75 deletions

View File

@@ -153,11 +153,11 @@ and its cache re-downloads, so treat this like the heavy build it is (run it
on the machine that hosts the editor; pin `LEAN4WEB_REF` for a build that
stands still).
CI follows the same split: `.gitea/workflows/deploy-lean.yml` rebuilds, pushes
and redeploys the lean image **only when `lean/**` changes**; the regular
deploy pipeline ignores `lean/**` entirely and just pulls whatever
`mathew-lean:latest` the registry holds. (In volume mode the pushed image is
~4GB and a lean rebuild doesn't fetch Mathlib at all.)
CI follows the same split inside one workflow: `.gitea/workflows/deploy.yml` gates a
`deploy-lean` job on the pushed diff — it rebuilds, pushes and redeploys the lean image
**only when `lean/**` changed** — while the app jobs run on every other change and just
pull whatever `mathew-lean:latest` the registry holds. (In volume mode the pushed image
is ~4GB and a lean rebuild doesn't fetch Mathlib at all.)
## Adding Lean projects