diff --git a/.github/workflows/python-ci-docs.yml b/.github/workflows/python-ci-docs.yml index 23e5a7e033..f450ebac3c 100644 --- a/.github/workflows/python-ci-docs.yml +++ b/.github/workflows/python-ci-docs.yml @@ -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 }} @@ -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