Skip to content

Commit

Permalink
Deploy document
Browse files Browse the repository at this point in the history
  • Loading branch information
SnO2WMaN committed Oct 15, 2024
1 parent 6b75c61 commit 83f9a49
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 14 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
pull_request:
workflow_dispatch:

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

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install elan
run: |
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain none
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- name: Fetch cache
run: lake exe cache get
- name: Build doc-gen4
run: lake build doc-gen4
- name: Generate documents
run: |
lake build \
Foundation:docs \
Arithmetization:docs \
Incompleteness:docs \
Summary:docs
- name: Upload documents
uses: actions/upload-pages-artifact@v1
with:
path: .lake/build/doc
- name: Deploy
uses: actions/deploy-pages@v1
14 changes: 0 additions & 14 deletions .github/workflows/lean_action_ci.yml

This file was deleted.

0 comments on commit 83f9a49

Please sign in to comment.