New functions to retrieve position (#155) #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Doc build | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_doc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v1 | |
- name: Setup OCaml | |
uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: 4.14.x | |
- name: Pin locally | |
run: opam pin -y add --no-action . | |
- name: Install locally | |
run: opam install -y --with-doc sedlex | |
- name: Build doc | |
run: opam exec dune build @doc | |
- name: Deploy doc | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: _build/default/_doc/_html |