From 942c65da35e8656505c90bec0a5ea0115cea52d9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 17 May 2026 00:16:07 +0000 Subject: [PATCH] Allow scheduled deploy after partial failures Agent-Logs-Url: https://github.com/m-aciek/python-docs-offline/sessions/ebcace79-8f8a-48d2-b4db-3a97205a14b1 Co-authored-by: m-aciek <9288014+m-aciek@users.noreply.github.com> --- .github/workflows/schedule.yaml | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/schedule.yaml b/.github/workflows/schedule.yaml index fbb149a..79d457d 100644 --- a/.github/workflows/schedule.yaml +++ b/.github/workflows/schedule.yaml @@ -92,7 +92,7 @@ jobs: # Artifacts from every concurrent build job are merged here and published # once via actions/deploy-pages, eliminating concurrent gh-pages push conflicts. needs: build - if: ${{ !cancelled() && needs.build.result != 'failure' && github.event_name != 'push' }} + if: ${{ always() && !cancelled() && needs.build.result != 'skipped' && github.event_name != 'push' }} runs-on: ubuntu-latest environment: name: github-pages diff --git a/README.md b/README.md index 738a820..8d6f527 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ cycle API and the docsbuild-scripts configuration to determine which the [build.yaml](.github/workflows/build.yaml) reusable workflow, which checks out the CPython source, builds the documentation with Sphinx, and uploads the resulting archives as artifacts. After all builds complete, a single deploy job -merges the artifacts into the `gh-pages` branch and publishes them to GitHub -Pages. +merges the successfully generated artifacts into the `gh-pages` branch and +publishes them to GitHub Pages, even if some builds failed. ## Rejected idea