Fix MkDocs config path
This commit is contained in:
@@ -6,12 +6,12 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- 'mkdocs.yml'
|
||||
- 'docs/mkdocs.yml'
|
||||
- '.github/workflows/pages.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- 'mkdocs.yml'
|
||||
- 'docs/mkdocs.yml'
|
||||
- '.github/workflows/pages.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
run: python -m pip install mkdocs-material
|
||||
|
||||
- name: Build site
|
||||
run: python -m mkdocs build --strict
|
||||
run: python -m mkdocs build --strict -f docs/mkdocs.yml
|
||||
|
||||
- name: Configure Pages
|
||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
|
||||
|
||||
Reference in New Issue
Block a user