Skip to content

Use local substitution in signatures #36

Use local substitution in signatures

Use local substitution in signatures #36

Workflow file for this run

name: deploy-odoc
on:
push:
branches:
- main
jobs:
deploy-doc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use OCaml 5.0.x
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 5.0.x
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
# janestreet-bleeding: https://ocaml.janestreet.com/opam-repository
# janestreet-bleeding-external: https://github.com/janestreet/opam-repository.git#external-packages
- run: opam install . --deps-only --with-doc
shell: bash
- run: opam depext --install odoc
shell: bash
- name: Build doc
run: |
opam exec -- dune build @install @doc
mkdir -p _build/default/_doc/_html
touch _build/default/_doc/_html/.nojekyll
ls _build/default/_doc/_html/fingerboard/Fingerboard/
- name: Deploy doc to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ github.token }}
publish_dir: _build/default/_doc/_html