Skip to content

[pre-commit.ci] pre-commit autoupdate (#6) #10

[pre-commit.ci] pre-commit autoupdate (#6)

[pre-commit.ci] pre-commit autoupdate (#6) #10

Workflow file for this run

name: Deploy to static branch
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
version: "0.4.x"
- name: Build docs
run: uv run just html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html
publish_branch: static