forked from leanprover/cslib
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 724 Bytes
/
docs.yml
File metadata and controls
34 lines (29 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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:
if: github.repository == 'leanprover/cslib'
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 --iofail"
- name: Build project documentation
id: build-docgen
uses: leanprover-community/docgen-action@main
with:
build-page: false