Skip to content

docs

docs #37

Workflow file for this run

name: docs
on:
push:
branches:
- "main"
permissions:
contents: write
jobs:
build:
name: build and deploy documentation.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install elan 🕑
run: |
set -o pipefail
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- --default-toolchain none -y
~/.elan/bin/lean --version
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- name: Generate docs 📜
run: |
./docgen.sh
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/doc # The folder the action should deploy.