Skip to content

Pre-commit action (#269) #180

Pre-commit action (#269)

Pre-commit action (#269) #180

Workflow file for this run

name: Deploy docs
on:
push:
branches: [main]
permissions:
contents: write
jobs:
deploy:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
cache: 'pip'
cache-dependency-path: setup.py
- name: Install dependencies
run: pip install -r requirements.txt
- name: Deploy docs
run: mkdocs gh-deploy --force