aboutsummaryrefslogtreecommitdiff
path: root/content/logs/2020-08-22-genpass.org
blob: c9a0a98c84461d5d0b9a553e9f87764d38ba1c54 (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:  "Moving 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.