Skip to content

chore(nix): build @github_action_tests (#149) #74

chore(nix): build @github_action_tests (#149)

chore(nix): build @github_action_tests (#149) #74

Workflow file for this run

name: Build doc
on:
push:
branches:
- master
jobs:
build_doc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.14.1
- name: Pin locally
run: opam pin -y add -n .
- name: Install dependencies
run: opam install -y odoc
- 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