Skip to content

Workflow file for this run

name: Build/Publish Latest Release Docs
on:
release:
types: [published]
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip wheel
python -m pip install -e ".[dev,docs]"
- name: Setup Docs Deploy
run: |
git fetch origin gh-pages --depth=1
git config --global user.name "Docs Deploy"
git config --global user.email "[email protected]"
- name: Build Docs Website
run: mike deploy --push --update-aliases ${{ github.event.release.tag_name }} stable