We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57de60e commit 7121e66Copy full SHA for 7121e66
.github/workflows/lean.yml
@@ -2,6 +2,12 @@ on:
2
push:
3
pull_request:
4
5
+# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
6
+permissions:
7
+ contents: read # Read access to repository contents
8
+ pages: write # Write access to GitHub Pages
9
+ id-token: write # Write access to ID tokens
10
+
11
name: build
12
13
jobs:
@@ -14,3 +20,7 @@ jobs:
14
20
- uses: leanprover/lean-action@v1
15
21
with:
16
22
check-reservoir-eligibility: true
23
24
+ - name: Build and Deploy API-DOCS
25
+ if: github.ref == 'refs/heads/main'
26
+ uses: leanprover-community/docgen-action@v1
0 commit comments