diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-15 15:34:36 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-15 15:34:36 +0200 |
commit | 231f2cb2205988cf87062bc9f595307af1ed827f (patch) | |
tree | f1094bf50677abed5266feb17c65240a45d7a387 /content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.html | |
parent | 46e6b5fa84b1ec6e08f124c478909ec745562214 (diff) | |
download | macroblog.rs-231f2cb2205988cf87062bc9f595307af1ed827f.tar.gz macroblog.rs-231f2cb2205988cf87062bc9f595307af1ed827f.tar.bz2 macroblog.rs-231f2cb2205988cf87062bc9f595307af1ed827f.zip |
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.
Diffstat (limited to 'content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.html')
-rw-r--r-- | content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.html | 38 |
1 files changed, 38 insertions, 0 deletions
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 @@ +<section> + <p> + This was quite simple, I had just to create a simple Gitlab pipeline job and + publish to pages this is done by: + </p> + <pre><code>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</code></pre> + <dl> + <dt>before_script</dt> + <dd>will download all the dependencies with <code>lein deps.</code></dd> + <dt>test</dt> + <dd>it is self explanatory</dd> + <dt>pages</dt> + <dd> + it will compile cljs into js with <code>lein package</code> into + <code>public</code> folder to later be published into gitlab pages. Take a + look at the <code>artifacts</code> property, it is used to say wich will + will be collected. + </dd> + </dl> + +</section> |