Skip to content

Build and deploy API-docs in CI (#28) #114

Build and deploy API-docs in CI (#28)

Build and deploy API-docs in CI (#28) #114

Workflow file for this run

on:
push:
pull_request:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read # Read access to repository contents
pages: write # Write access to GitHub Pages
id-token: write # Write access to ID tokens
name: build
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: leanprover/lean-action@v1
with:
check-reservoir-eligibility: true
- name: Build and Deploy API-DOCS
if: github.ref == 'refs/heads/main'
uses: leanprover-community/docgen-action@v1