This PR adds a build-only job to the GitHub workflow that runs on all branches except main. This will help catch build issues earlier in the development process without creating releases.
Changes Made:
Added a build-only job that runs whenever you push changes to any branch except main
This job:
Builds the book using the exact same process
Runs all the same validation checks
Uploads the build artifacts for inspection (with a 3-day retention period)
Does NOT create releases or deploy to GitHub Pages
The original build job continues to run only on the main branch
Benefits:
Test builds on feature branches before merging to main
Catch image inclusion issues, missing dependencies, or other build problems early
Review build artifacts directly in GitHub Actions without needing to create a release
Different artifact names for each branch to easily identify them
This ensures that all branches get tested with a full build, but only successful merges to main create official releases and documentation updates.
Enhanced GitHub Workflow
This PR adds a build-only job to the GitHub workflow that runs on all branches except main. This will help catch build issues earlier in the development process without creating releases.
Changes Made:
Added a
build-only
job that runs whenever you push changes to any branch exceptmain
This job:
The original
build
job continues to run only on themain
branchBenefits:
This ensures that all branches get tested with a full build, but only successful merges to
main
create official releases and documentation updates.