Skip to content

Update main.yaml

Update main.yaml #4

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
- add-gh-action
workflow_dispatch:
permissions: write-all
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- run: pip install --upgrade pip && pip install . && pip install mkdocs 'mkdocstrings[python]' mkdocs-material
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Publish docs
run: mkdocs gh-deploy