Merge pull request #3 from ocsigen/balat-patch-1 #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy odoc | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy-doc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install system packages | |
run: sudo apt-get install -y libgdbm-compat-dev | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Use OCaml 4.12.x | |
uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: 4.12.x | |
opam-pin: false | |
opam-depext: false | |
dune-cache: true | |
- name: Install libgdbm-dev | |
run: sudo apt-get install libgdbm-dev | |
- name: Deploy odoc to GitHub Pages | |
uses: ocaml/setup-ocaml/deploy-doc@v2 |