Skip to content

Commit d3b5497

Browse files
committed
ci: docs build only when changes pushed to docs/ folder
1 parent 0c1b61d commit d3b5497

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/documentation.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ on:
2727
release:
2828
types:
2929
- published
30-
push:
31-
branches:
32-
- main
33-
- master
3430
workflow_dispatch:
3531
schedule:
3632
- cron: "0 */12 * * *"
33+
push:
34+
paths:
35+
- docs/**
3736

3837
# ---------------------------------------------------------------------------------------
3938
# jobs

0 commit comments

Comments
 (0)