Skip to content

Commit 48c2f8f

Browse files
authored
ci: only test docs in PR
1 parent 961fc6b commit 48c2f8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ jobs:
107107
documentation:
108108
name: Documentation
109109
runs-on: ubuntu-latest
110+
# Main docs are built in another workflow, we don't have to test them outside of PR
111+
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
110112
steps:
111113
- uses: actions/checkout@v2
112114

0 commit comments

Comments
 (0)