feat: update doc home page

This commit is contained in:
jstoobysmith 2024-06-15 09:16:26 -04:00
parent b84f1707be
commit a849c83892
8 changed files with 270 additions and 1 deletions

View file

@ -2,6 +2,7 @@ on:
push:
branches:
- master
- Update-versions
name: Build and deploy documentation
@ -56,11 +57,26 @@ jobs:
- name: Build documentation
run: ~/.elan/bin/lake -Kenv=dev build HepLean:docs
- name: Copy documentation to `docs/docs`
run: |
mv .lake/build/doc docs/docs
- name: Bundle dependencies
uses: ruby/setup-ruby@v1
with:
working-directory: docs
ruby-version: "3.0" # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Bundle website
working-directory: docs
run: JEKYLL_ENV=production bundle exec jekyll build
- name: Upload docs & blueprint artifact
uses: actions/upload-pages-artifact@v1
with:
path: .lake/build/doc
path: docs/_site
- name: Deploy to GitHub Pages
id: deployment