mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-08 03:47:57 -04:00
more CI
This commit is contained in:
parent
ecf51ce32b
commit
7e087ffc54
1 changed files with 5 additions and 3 deletions
8
.github/workflows/gh-pages.yml
vendored
8
.github/workflows/gh-pages.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue