File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ cycle API and the docsbuild-scripts configuration to determine which
2626the [ build.yaml] ( .github/workflows/build.yaml ) reusable workflow, which checks
2727out the CPython source, builds the documentation with Sphinx, and uploads the
2828resulting 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
You can’t perform that action at this time.
0 commit comments