Bump version #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: | |
- main | |
# Only deploy when the relevant files have changed | |
paths: | |
- "**.md" | |
- "mkdocs.yml" | |
workflow_dispatch: | |
jobs: | |
docs: | |
name: Build documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
pipx install mkdocs | |
pipx inject mkdocs mkdocs-material | |
- name: Build & deploy documentation | |
run: | | |
# Assume the identity of the github actions bot | |
git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com' | |
mkdocs gh-deploy --force |