Skip to content

actually add the module #90

actually add the module

actually add the module #90

Workflow file for this run

name: Deploy odoc
on:
push:
release:
types:
- published
jobs:
deploy-doc:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout tree
uses: actions/checkout@v3
- name: Set-up OCaml 5.1.1
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.1.1"
dune-cache: true
- name: Deploy odoc to GitHub Pages
# last version of setup-ocaml with deploy-doc
# TODO: https://github.com/ocaml/setup-ocaml/blob/master/EXAMPLES.md
# #using-the-official-github-pages-actions-to-deploy-odoc-to-github-pages
uses: ocaml/setup-ocaml/[email protected]
with:
destination-dir: ${{ github.head_ref || github.ref_name }}