aboutsummaryrefslogtreecommitdiff
path: root/2020-08-22Moving_from_Github_to_Gitlab_pages.md
blob: 5bfa7889f5f4d42c8c3e6f77c4a5a157446235ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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

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.