1This was quite simple, I had just to create a simple Gitlab pipeline job
2and publish to pages this is done by:
3
4 image: clojure:lein-2.7.0
5
6 before_script:
7 - lein deps
8
9 test:
10 script:
11 - lein test
12
13 pages:
14 stage: deploy
15 script:
16 - lein package
17 artifacts:
18 paths:
19 - public
20 only:
21 - master
22
23before~script~
24: will download all the dependencies with `lein deps`.
25
26test
27: is self explanatory.
28
29pages
30: will compile the cljs into js with `lein package` and publish it
31 into pages.