Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and Deploy Documentation

on:
push:
branches:
- main # Build docs on merges to main
workflow_dispatch:

permissions:
contents: read
id-token: write
pages: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Build and lint the project
id: build-lean
uses: leanprover/lean-action@v1
with:
build-args: "--wfail"

- name: Build project documentation
id: build-docgen
uses: leanprover-community/docgen-action@main