Skip to content

Merge pull request #50 from hannesm/use-digestif-no-cryptokit #54

Merge pull request #50 from hannesm/use-digestif-no-cryptokit

Merge pull request #50 from hannesm/use-digestif-no-cryptokit #54

Workflow file for this run

name: YOCaml deploy documentation
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.14.x
opam-depext-flags: --with-doc
- run: opam install . --deps-only --with-doc --with-test
- run: opam exec -- dune build
- run: opam exec -- dune build @doc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./_build/default/_doc/_html/
external_repository: yocaml/doc
publish_branch: gh-pages
enable_jekyll: false