Run the vault deploy only on dispatch: the uncached libflame build is too heavy for the runner
1 changed file+7−4
.mochi/workflows/deploy.ymlmodified+7−4View file
@@ -8,14 +8,17 @@ name: Deploy to Pages
88 # everything with emcc, so gfortran is installed first;
99 # - there is no cache service, so the libflame/BLIS libraries are rebuilt
1010 # from source on every run (libflame twice, BLIS twice) rather than
11-# restored, which makes this the vault's slowest build;
11+# restored;
1212 # - vite.config.ts already uses a relative base, so the site works at the
1313 # vault's serving path with no configuration.
14+#
15+# No push trigger, deliberately: without a cache the double libflame build is
16+# too heavy for the small Fly runner, so this runs only when dispatched by
17+# hand, and shadowing the .github file by name is what keeps the GitHub-shaped
18+# workflow from running on the vault either. The GitHub Pages deploy remains
19+# the live one.
1420
1521 on:
16- push:
17- branches:
18- - main
1922 workflow_dispatch:
2023
2124 permissions: