Skip to content

Adapt to refactoring of nimib (#52) #21

Adapt to refactoring of nimib (#52)

Adapt to refactoring of nimib (#52) #21

Workflow file for this run

name: Generate nimiSlides docs
on:
push:
branches:
- main
jobs:
gen:
name: Generate and deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: apt install
run: sudo apt install -y libpcre3 libblas-dev liblapack-dev
- uses: iffy/install-nim@v5
- name: Generate
run: |
set -e
nimble install -g nimble
nimble install -y -g https://github.com/zetashift/fontim
nimble install -y -g https://github.com/HugoGranstrom/cdt@0.1.1
nimble sync -y
nimble setup
nimble docs
nimble buildDocs
nimble buildBook
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs