diff options
Diffstat (limited to '2020-08-22Moving_from_Github_to_Gitlab_pages.md')
-rw-r--r-- | 2020-08-22Moving_from_Github_to_Gitlab_pages.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/2020-08-22Moving_from_Github_to_Gitlab_pages.md b/2020-08-22Moving_from_Github_to_Gitlab_pages.md new file mode 100644 index 0000000..5bfa788 --- /dev/null +++ b/2020-08-22Moving_from_Github_to_Gitlab_pages.md @@ -0,0 +1,31 @@ +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. |