Skip to content

Commit

Permalink
Create Github Action to automatically deploy documenation. (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
smolkaj authored Jun 11, 2023
1 parent bd27139 commit 69b2170
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy odoc

on:
push:
branches:
- master

jobs:
deploy-doc:
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v3

- name: Set-up OCaml 5.0
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.0"
dune-cache: true

- name: Deploy odoc to GitHub Pages
uses: ocaml/setup-ocaml/deploy-doc@v2

0 comments on commit 69b2170

Please sign in to comment.