aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..7bfc4b5
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,14 @@
+image: ocaml/opam:latest
+
+before_script:
+ - sudo opam install dune odoc
+
+pages:
+ stage: deploy
+ script:
+ - dune build @doc
+ artifacts:
+ paths:
+ - _build/default/_doc/_html
+ only:
+ - master \ No newline at end of file