Skip to content

Commit

Permalink
more CI
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Jan 19, 2024
1 parent ecf51ce commit 7e087ff
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,18 @@ jobs:
allow-prerelease-opam: 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
run: opam install trace trace-tef trace-fuchsia ppx_trace -d
run: opam install odig trace trace-tef trace-fuchsia ppx_trace

- 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
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/default/_doc/_html/
publish_dir: ./_doc/html
destination_dir: .
enable_jekyll: true

0 comments on commit 7e087ff

Please sign in to comment.