mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
CI(doc): use odig to generate documentation
This commit is contained in:
parent
0a167dc3dd
commit
d5d10af079
1 changed files with 5 additions and 3 deletions
8
.github/workflows/gh-pages.yml
vendored
8
.github/workflows/gh-pages.yml
vendored
|
|
@ -19,15 +19,17 @@ jobs:
|
|||
dune-cache: false
|
||||
|
||||
- name: Deps
|
||||
run: opam install -d . --deps-only
|
||||
run: |
|
||||
opam install -d . --deps-only;
|
||||
opam install odig
|
||||
|
||||
- name: Build
|
||||
run: opam exec -- dune build @doc
|
||||
run: opam exec -- odig odoc --cache-dir=_doc/ containers containers-data containers-thread
|
||||
|
||||
- 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: dev
|
||||
enable_jekyll: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue