Skip to content

Commit ec65f99

Browse files
committed
ci: skip remote documentation generation on PRs
The remote documentation step fetches and builds develop, master, and all tags. This content is unrelated to the PR and is only needed for website publishing. The local documentation step (which builds only HEAD) still runs and validates that the PR does not break doc generation.
1 parent 86824a8 commit ec65f99

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,10 @@ jobs:
996996
'+refs/tags/*:refs/tags/*'
997997
998998
- name: Generate Remote Documentation
999+
# This step fetches and builds develop, master and all tags. That's
1000+
# unrelated to a PR, and is only needed for website publishing. So, skip
1001+
# for a PR.
1002+
if: github.event_name != 'pull_request'
9991003
working-directory: docs
10001004
run: |
10011005
# This playbook renders the documentation

0 commit comments

Comments
 (0)