Skip to content

Commit

Permalink
only trigger on mkdocs/docs/ changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjqliu committed Nov 22, 2024
1 parent aec8823 commit 9d24bc4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/python-ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@
#

name: "Python CI Docs"

on:
push:
branches:
- 'main'
- 'main'
paths:
- 'mkdocs/docs/**'
pull_request:

paths:
- 'mkdocs/docs/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -37,7 +41,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
python-version: 3.12
- name: Install
working-directory: ./mkdocs
run: pip install -r requirements.txt
Expand Down

0 comments on commit 9d24bc4

Please sign in to comment.