Skip to content

Commit c7a0ec4

Browse files
author
Mishig
authored
docs: build only if doc files were changed (#85)
1 parent 88c5b54 commit c7a0ec4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build_documentation.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ name: Build documentation
22

33
on:
44
push:
5+
paths:
6+
- "docs/source/**"
57
branches:
68
- main
9+
- doc-builder*
10+
- v*-release
711

812
jobs:
913
build:

.github/workflows/build_pr_documentation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Build PR Documentation
22

33
on:
44
pull_request:
5+
paths:
6+
- "docs/source/**"
57

68
concurrency:
79
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

0 commit comments

Comments
 (0)