Skip to content

chore: AssocDArray -> DefaultDict (#80) #166

chore: AssocDArray -> DefaultDict (#80)

chore: AssocDArray -> DefaultDict (#80) #166

Workflow file for this run

name: build and deploy docs
on:
push:
branches:
- master
pull_request:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
name: build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: lean-action
uses: leanprover/lean-action@v1
with:
use-github-cache: false
- name: Build Doc
run: |
lake exe graph ./docbuild/algorithm.html
cd docbuild
MATHLIB_NO_CACHE_ON_UPDATE=1 lake update doc-gen4
lake build Algorithm:docs
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docbuild/.lake/build/doc'
deploy:
if: github.ref == 'refs/heads/master'
name: deploy docs
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4