Commit graph

4 commits

Author SHA1 Message Date
Matt Sturgeon
95957f306b ci/docs: fix build ref
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Build unstable (push) Waiting to run
Documentation / Build 24.11 (push) Waiting to run
Documentation / Build 25.05 (push) Waiting to run
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
Fix typo `inputs.ref` → `matrix.ref`.

This caused an empty string to be assigned to the checkout action's
`ref` input, meaning it used its default value `github.ref`.

Therefore all "versions" of the docs were actually building `main` 😂

Instead, we actually want to checkout the ref from the job's `matrix`.
2025-06-16 00:11:43 +00:00
Matt Sturgeon
7176d51a34 ci/docs: run non-build jobs on ARM
This may be marginally slower, but should be more efficient.

Continue using x86 for the main build as it will be faster.
2025-06-15 21:24:10 +00:00
Matt Sturgeon
40bf948e0e ci/docs: extract action & refactor workflow
Extract the "build" part of building & deploying the docs website into a
`build-docs` composite action.

Refactor the workflow to use a matrix job strategy; allowing each branch
to be built in parallel and in isolation.

In a subsequent job, we combine the builds into a single artifact.
2025-06-15 21:24:10 +00:00
Matt Sturgeon
91ecff36b6 ci/docs: rename workflow 2025-06-15 21:24:10 +00:00
Renamed from .github/workflows/build_documentation.yml (Browse further)