Skip to content

Commit f9babd1

Browse files
authored
ci: build docs once you prepare release (#20507)
1 parent 61a8391 commit f9babd1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/docs-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ on:
2121
- "src/pytorch_lightning/*"
2222
- "setup.py"
2323
- "pyproject.toml" # includes metadata used in the package creation
24-
- "!*.md"
25-
- "!**/*.md"
24+
- "!*.md" # exclude all markdown files
25+
- "!**/*.md" # exclude all markdown files
26+
- "src/version.info" # once you try to make release try to compile complete docs
2627
workflow_dispatch:
2728
inputs:
2829
checkout:

0 commit comments

Comments
 (0)