From 231f2cb2205988cf87062bc9f595307af1ed827f Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 15 May 2022 15:34:36 +0200 Subject: feat: Add missing blog post Add the missing blog post from my hugo blog. Also add a locustfile so I can do some stress test locally. --- ...020-08-22Moving_from_Github_to_Gilab_pages.html | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.html (limited to 'content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.html') diff --git a/content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.html b/content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.html new file mode 100644 index 0000000..5fb1d78 --- /dev/null +++ b/content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.html @@ -0,0 +1,38 @@ +
+

+ 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
+
it is self explanatory
+
pages
+
+ it will compile cljs into js with lein package into + public folder to later be published into gitlab pages. Take a + look at the artifacts property, it is used to say wich will + will be collected. +
+
+ +
-- cgit v1.2.3