Skip to content

Commit 9d24bc4

Browse files
committed
only trigger on mkdocs/docs/ changes
1 parent aec8823 commit 9d24bc4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/python-ci-docs.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,16 @@
1818
#
1919

2020
name: "Python CI Docs"
21+
2122
on:
2223
push:
2324
branches:
24-
- 'main'
25+
- 'main'
26+
paths:
27+
- 'mkdocs/docs/**'
2528
pull_request:
26-
29+
paths:
30+
- 'mkdocs/docs/**'
2731

2832
concurrency:
2933
group: ${{ github.workflow }}-${{ github.ref }}
@@ -37,7 +41,7 @@ jobs:
3741
- uses: actions/checkout@v4
3842
- uses: actions/setup-python@v5
3943
with:
40-
python-version: ${{ matrix.python }}
44+
python-version: 3.12
4145
- name: Install
4246
working-directory: ./mkdocs
4347
run: pip install -r requirements.txt

0 commit comments

Comments
 (0)