gabrielgio.me @ ab1b53ab8a77c2597527d7548dd073895bca0333

 1---
 2title: "Moving from Github to Gitlab pages"
 3date: 2020-08-22
 4tags: ['gitlab']
 5---
 6
 7This was quite fast, I had just to create a small Gitlab pipeline job and
 8publish to pages this is done by:
 9
10```yml
11image: clojure:lein-2.7.0
12
13before_script:
14  - lein deps
15
16test:
17  script:
18    - lein test
19
20pages:
21  stage: deploy
22  script:
23    - lein package
24  artifacts:
25    paths:
26      - public
27  only:
28    - master
29```
30
31before_script
32:   will download all the dependencies with `lein deps`.
33
34test
35:   is self explanatory.
36
37pages
38:   will compile the cljs into js with `lein package` and publish it
39    into pages.