Skip to content

Merge pull request #2620 from grumbach/fix_docs #6

Merge pull request #2620 from grumbach/fix_docs

Merge pull request #2620 from grumbach/fix_docs #6

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
env:
GH_TOKEN: ${{ secrets.AUTONOMI_PAT }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs-material mkdocstrings mkdocstrings-python mkdocs-git-revision-date-localized-plugin
- name: Deploy Documentation
run: |
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
mkdocs gh-deploy --force