This was quite simple, I had just to create a simple 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
lein deps.
lein package
into
public
folder to later be published into gitlab pages. Take a
look at the artifacts
property, it is used to say wich will
will be collected.