blob: f70f2146fc883f991565b8ecbfb2265b041cfcf3 (
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
32
33
34
35
  | 
---
title:  "Moveing from github to gitlab pages"
date:   2020-08-22
tags: ['gitlab']
---
This was quite simple, I had just to create a simple Gitlab pipeline job and
publish to pages this is done by:
#+BEGIN_SRC
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
#+END_SRC
- 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.
 
  |