name: Deploy Documentation on: workflow_dispatch: permissions: contents: write jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Install uv uses: astral-sh/setup-uv@v6 with: enable-cache: true python-version: "3.11" - name: Install dependencies run: uv sync --locked --extra docs - name: Build docs env: MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.MKDOCS_GIT_COMMITTERS_APIKEY }} run: uv run mkdocs build --strict - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v4 env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./site destination_dir: docs