feat: Add pipeline verification of the MkDocs configuration
Signed-off-by: Adam Harvey <adaharve@cisco.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
name: Verify TechDocs MkDocs
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- 'mkdocs.yml'
|
||||
|
||||
jobs:
|
||||
build-mkdocs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip3 install mkdocs mkdocs-techdocs-core
|
||||
|
||||
- name: Build MkDocs for TechDocs
|
||||
run: mkdocs build --strict
|
||||
Reference in New Issue
Block a user