Skip to content

v11.1

v11.1 #34

Workflow file for this run

name: aiosql docs
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install sphinx sphinx-rtd-theme
python -m pip install .
- name: Generate documentation
run: .github/scripts/docs.sh
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: docs/build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}