Skip to content

Merge pull request #111 from alissa-tung/master #3

Merge pull request #111 from alissa-tung/master

Merge pull request #111 from alissa-tung/master #3

Workflow file for this run

name: Build docs
permissions:
contents: write
on:
push:
branches:
- "master"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Install Lean
run: |
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s - -y --default-toolchain `cat ./lean-toolchain`
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- run: |
export CI_BUILD=1
lake -Kenv=CI_BUILD update && lake -Kenv=CI_BUILD exe cache get && lake -Kenv=CI_BUILD build && lake -Kenv=CI_BUILD build EuclideanGeometry:docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: build/docs