Build docs workflow

This commit is contained in:
Matthew Barber 2023-08-04 10:51:50 +01:00
parent 27b5192ade
commit 6c8c060c75
1 changed files with 16 additions and 0 deletions

16
.github/workflows/docs.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- develop
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- run: pip install mkdocs mkdocs-material
- run: mkdocs gh-deploy --force --clean --verbose