Add mkdocs action

This commit is contained in:
Essem 2022-07-26 13:57:18 -05:00
parent c72bb7baa1
commit e3d41db178
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
2 changed files with 21 additions and 0 deletions

19
.github/workflows/mkdocs.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- master
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REQUIREMENTS: docs/requirements.txt

2
docs/requirements.txt Normal file
View file

@ -0,0 +1,2 @@
mkdocs-glightbox
mkdocs-git-revision-date-localized-plugin