Skip to content

docs(strategy): refresh vision doc for v2.2.0 shipped and section num… #108

docs(strategy): refresh vision doc for v2.2.0 shipped and section num…

docs(strategy): refresh vision doc for v2.2.0 shipped and section num… #108

Workflow file for this run

# Deploys MkDocs to gh-pages on push to main only.
# Doc build is verified in CI (quality-python); this workflow only deploys.
# Path filters avoid redeploy when only code changed.
#
# Uses peaceiris/actions-gh-pages (no ghp-import) for reliable pushes.
# We inject vercel.json into site/ so Vercel skips deploying gh-pages.
name: Docs
on:
push:
branches: [main]
paths:
- 'docs/**'
- 'mkdocs.yml'
- 'vercel.json'
- 'src/asap/**'
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Python
uses: ./.github/actions/setup-python
- name: Build docs
run: uv run mkdocs build
- name: Add vercel.json to skip Vercel deployment of gh-pages
run: |
if [ -f vercel.json ]; then cp vercel.json site/vercel.json; fi
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
force_orphan: true