Skip to content

examples: modernize agent_pydantic.py startup to the ai-session modul… #1

examples: modernize agent_pydantic.py startup to the ai-session modul…

examples: modernize agent_pydantic.py startup to the ai-session modul… #1

Workflow file for this run

name: Deploy docs to GitHub Pages
# Builds the MkDocs user guide and publishes it to GitHub Pages on every push to
# main. One-time setup in the repo: Settings > Pages > Build and deployment >
# Source = "GitHub Actions". The site then appears at
# https://rmehta1987.github.io/rcc-vllm/
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Enables GitHub Pages for the repo and sets its source to "GitHub Actions"
# automatically (needs the pages:write permission granted above), so no
# manual Settings > Pages step is required.
- uses: actions/configure-pages@v5
with:
enablement: true
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install "mkdocs-material==9.7.6"
- run: mkdocs build --strict --site-dir site
- uses: actions/upload-pages-artifact@v3
with:
path: site
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4