diff options
Diffstat (limited to 'content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.md')
-rw-r--r-- | content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.md b/content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.md new file mode 100644 index 0000000..f971a75 --- /dev/null +++ b/content/posts/2020-08-22Moving_from_Github_to_Gilab_pages.md @@ -0,0 +1,34 @@ +--- 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: + + 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 +: is self explanatory. + +pages +: will compile the cljs into js with `lein package` and publish it + into pages. |