Skip to content

Update stable_docs.yml #9

Update stable_docs.yml

Update stable_docs.yml #9

Workflow file for this run

name: Build/Publish Develop Docs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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 "docs.deploy@example.co.uk"
- name: Build Docs Website
run: mike deploy --push main latest