Skip to content

Create GitHub workflow to build mkdocs and deploy to GitHub pages #1

Create GitHub workflow to build mkdocs and deploy to GitHub pages

Create GitHub workflow to build mkdocs and deploy to GitHub pages #1

Workflow file for this run

name: Publish docs to GitHub Pages
on:
push:
branches:
- main
- feature/mkdocs # TODO: Remove this after testing!
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs mkdocs-material mkdocs-material-extensions mkdocs-minify-plugin mkdocs-glightbox mkdocs-get-deps
- run: mkdocs gh-deploy --force --clean --verbose