aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-cl.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-cl.yml')
-rw-r--r--.gitlab-cl.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.gitlab-cl.yml b/.gitlab-cl.yml
new file mode 100644
index 0000000..4343d80
--- /dev/null
+++ b/.gitlab-cl.yml
@@ -0,0 +1,35 @@
+image: silex/emacs:26.3-alpine-dev
+
+stages:
+ - build
+ - deploy
+
+build-html:
+ stage: build
+ script:
+ make html
+ artifacts:
+ paths:
+ - public_html/
+
+build-css:
+ stage: build
+ image: finalgene/lessc:3.10
+ script:
+ make css
+ artifacts:
+ paths:
+ - public_html/
+
+pages:
+ stage: deploy
+ dependencies:
+ - build-html
+ - build-css
+ script:
+ - echo "Deploying to pages"
+ artifacts:
+ paths:
+ - public_html/
+ only:
+ - master