aboutsummaryrefslogtreecommitdiff
path: root/content/logs/2020-08-22-genpass.org
diff options
context:
space:
mode:
Diffstat (limited to 'content/logs/2020-08-22-genpass.org')
-rw-r--r--content/logs/2020-08-22-genpass.org35
1 files changed, 35 insertions, 0 deletions
diff --git a/content/logs/2020-08-22-genpass.org b/content/logs/2020-08-22-genpass.org
new file mode 100644
index 0000000..595295f
--- /dev/null
+++ b/content/logs/2020-08-22-genpass.org
@@ -0,0 +1,35 @@
+---
+title: "Moveing from github to gitlab pages"
+date: 2020-09-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.