Skip to content

Merge pull request #137 from harumiWeb/dependabot/uv/starlette-1.0.1 #118

Merge pull request #137 from harumiWeb/dependabot/uv/starlette-1.0.1

Merge pull request #137 from harumiWeb/dependabot/uv/starlette-1.0.1 #118

Workflow file for this run

name: Deploy Docs
on:
push:
branches: [main]
workflow_dispatch: {}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install --upgrade pip
pip install ".[yaml,toon,render]" mkdocs-material "mkdocstrings[python]"
- name: Generate model docs
run: |
python scripts/gen_model_docs.py
- name: Build and deploy
run: |
mkdocs gh-deploy --force
permissions:
contents: write # gh-pages への push に必要
pages: write # (Actions から Pages を使う場合は念のため)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # mkdocs gh-deploy が参照