This was quite fast, I had just to create a small Gitlab pipeline job and publish to pages this is done by:
image: clojure:lein-2.7.0
before_script:
- lein deps
test:
script:
- lein test
pages:
stage: deploy
script:
- lein package
artifacts:
paths:
- public
only:
- master
- before_script
- will download all the dependencies with
lein deps
. - test
- is self explanatory.
- pages
- will compile the cljs into js with
lein package
and publish it into pages.