From ff1e486daca8e83d1d211b8ee3312560f242a880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Levy?= Date: Fri, 13 Feb 2026 13:46:24 +0000 Subject: [PATCH 1/2] fix: update Sphinx 8 boolean flags in push deploy build step The deploy-production job in push.yml has its own inline sphinx-build that was not updated alongside build-docs-optimized.yml in PR #225. Sphinx 8 strictly validates -D boolean flags and rejects 'false', requiring '0' instead. Also removed 2>/dev/null that was hiding all build errors. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/push.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4cad6d84..cb9c3908 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -88,9 +88,9 @@ jobs: echo "Building $project for production..." cd "$project" sphinx-build -b html -j auto -q --keep-going \ - -D html_show_sourcelink=false \ - -D html_copy_source=false \ - . "../../_build/$project" 2>/dev/null || echo "Build failed for $project, continuing..." + -D html_show_sourcelink=0 \ + -D html_copy_source=0 \ + . "../../_build/$project" || echo "Build failed for $project, continuing..." ' cd .. From 082e30196562fca2f0a116e46c4e4cd6eb2965a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Levy?= Date: Fri, 13 Feb 2026 13:55:03 +0000 Subject: [PATCH 2/2] fix: re-enable automatic releases on push to main The release workflow's push trigger was removed at 282c701 because historical runs failed. The root cause was a Sphinx build failure, not the trigger itself. Changes: - Re-add push trigger for main branch with path filters (projects/, cli/) - Remove workflow_dispatch-only guard on create-release job - Add concurrency group to prevent concurrent release attempts - Exclude .github/** from paths to avoid releases on CI-only changes Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3a40057..e3c53518 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,15 @@ on: options: - patch - major + push: + branches: [main] + paths: + - "projects/**" + - "cli/**" + +concurrency: + group: "release" + cancel-in-progress: false permissions: contents: write @@ -75,7 +84,6 @@ jobs: name: Create GitHub Release runs-on: ubuntu-latest needs: [generate-version, build-docs] - if: github.event_name == 'workflow_dispatch' permissions: contents: write pull-requests: write