Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
name: Deploy odoc
on:
push:
branches:
- main
jobs:
deploy-doc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use OCaml 4.13.x
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.13.x
- name: Install dependencies
run: opam install ./dometyl --deps-only --with-doc
- name: Copy main.ml
working-directory: ./dometyl/bin
run: cp main.ml.example main.ml
- name: Build docs
working-directory: ./dometyl
run: opam exec -- dune build @doc
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ github.token }}
publish_dir: dometyl/_build/default/_doc/_html
05f68c727This file is pinned to the selected release. Download the original to open it in your design tool.