diff --git a/.github/workflows/mkdocs-build-and-deploy.yaml b/.github/workflows/mkdocs-build-and-deploy.yaml index c3225bf59c..f0469a78e6 100644 --- a/.github/workflows/mkdocs-build-and-deploy.yaml +++ b/.github/workflows/mkdocs-build-and-deploy.yaml @@ -3,15 +3,9 @@ name: MkDocs build and deploy on: workflow_dispatch: push: - branches: [ main ] - paths: - - "mkdocs.yml" - - "docs/**" + branches: [ main, mkdocs ] pull_request: branches: [ main ] - paths: - - "mkdocs.yml" - - "docs/**" jobs: build-and-deploy: @@ -20,3 +14,5 @@ jobs: pages: write id-token: write uses: Nexus-Mods/NexusMods.App.Meta/.github/workflows/mkdocs-build-and-deploy.yaml@main + with: + mkdocs-version: '9.5.0'