This commit is contained in:
Simon Cruanes 2024-01-19 09:27:28 -05:00
parent ecf51ce32b
commit 7e087ffc54
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -20,16 +20,18 @@ jobs:
allow-prerelease-opam: true allow-prerelease-opam: true
dune-cache: true dune-cache: true
- run: opam pin odoc 2.2.2 -y -n
# crash with 2.4, see https://github.com/ocaml/odoc/issues/1066
- name: Deps - name: Deps
run: opam install trace trace-tef trace-fuchsia ppx_trace -d run: opam install odig trace trace-tef trace-fuchsia ppx_trace
- name: Build - name: Build
run: opam exec -- dune build @doc run: opam exec -- odig odoc --cache-dir=_doc/ trace trace-tef trace-fuchsia ppx_trace
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/default/_doc/_html/ publish_dir: ./_doc/html
destination_dir: . destination_dir: .
enable_jekyll: true enable_jekyll: true