Skip to content

Commit 942c65d

Browse files
Copilotm-aciek
andauthored
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>
1 parent 3cde519 commit 942c65d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/schedule.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
# Artifacts from every concurrent build job are merged here and published
9393
# once via actions/deploy-pages, eliminating concurrent gh-pages push conflicts.
9494
needs: build
95-
if: ${{ !cancelled() && needs.build.result != 'failure' && github.event_name != 'push' }}
95+
if: ${{ always() && !cancelled() && needs.build.result != 'skipped' && github.event_name != 'push' }}
9696
runs-on: ubuntu-latest
9797
environment:
9898
name: github-pages

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ cycle API and the docsbuild-scripts configuration to determine which
2626
the [build.yaml](.github/workflows/build.yaml) reusable workflow, which checks
2727
out the CPython source, builds the documentation with Sphinx, and uploads the
2828
resulting archives as artifacts. After all builds complete, a single deploy job
29-
merges the artifacts into the `gh-pages` branch and publishes them to GitHub
30-
Pages.
29+
merges the successfully generated artifacts into the `gh-pages` branch and
30+
publishes them to GitHub Pages, even if some builds failed.
3131

3232
## Rejected idea
3333

0 commit comments

Comments
 (0)