Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/actions/doc_preview/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ runs:
folder: ${{ inputs.source-folder }}
target-folder: docs/pr-preview/pr-${{ inputs.pr-number }}/
commit-message: "Deploy doc preview for PR ${{ inputs.pr-number }} (${{ github.sha }})"
# Every PR preview, the main docs deploy, and the coverage deploy commit to
# the shared gh-pages branch. Rebase onto a deployment that landed in the
# meantime instead of force-pushing over it, which the branch ruleset
# rejects (and which used to discard the other deployment).
force: false

- name: Leave a comment after deployment
if: ${{ github.ref_name != 'main' && !startsWith(github.ref_name, 'release/') }}
Expand Down Expand Up @@ -56,6 +61,7 @@ runs:
folder: ${{ inputs.source-folder }}
target-folder: docs/pr-preview/pr-${{ inputs.pr-number }}/
commit-message: "Clean up doc preview for PR ${{ inputs.pr-number }} (${{ github.sha }})"
force: false

- name: Leave a comment after removal
if: ${{ github.ref_name == 'main' || startsWith(github.ref_name, 'release/') }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,3 +357,6 @@ jobs:
target-folder: docs/
commit-message: "Deploy ${{ (inputs.is-release && 'release') || 'latest' }} docs: ${{ env.CUDA_PYTHON_DOCS_GITHUB_REF }}"
clean: false
# Rebase onto concurrent PR-preview or coverage deployments instead of
# force-pushing, which the gh-pages ruleset rejects.
force: false
3 changes: 3 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -575,3 +575,6 @@ jobs:
target-folder: docs/
commit-message: "Deploy combined coverage (Linux + Windows): ${{ github.sha }}"
clean: false
# Rebase onto concurrent docs deployments instead of force-pushing,
# which the gh-pages ruleset rejects.
force: false
Loading