mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-13 09:46:23 +00:00
Add markdown linting (without breaking the site this time!)
This commit is contained in:
24
.github/workflows/mkdocs-build-sanity-check.yml
vendored
Normal file
24
.github/workflows/mkdocs-build-sanity-check.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: 'mkdocs sanity check'
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
|
||||
jobs:
|
||||
mkdocs-sanity-check:
|
||||
name: Check mkdocs builds successfully
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
architecture: x64
|
||||
|
||||
- name: Install requirements
|
||||
run: python3 -m pip install -r requirements.txt
|
||||
|
||||
- name: Test mkdocs builds
|
||||
run: python3 -m mkdocs build
|
||||
Reference in New Issue
Block a user