aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-cl.yml
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-10-06 18:49:10 -0700
committerGravatar Tom Willemse2019-10-06 18:49:10 -0700
commitf0c1ca14686080bcdb7c6b07f2c7530b56ddbd29 (patch)
tree604d13ef84d823fdb309af83e7d688d04e90531d /.gitlab-cl.yml
parenta00df1cad87b16222f708636d2831bd8581e1d2a (diff)
downloadnew-ryuslash.org-f0c1ca14686080bcdb7c6b07f2c7530b56ddbd29.tar.gz
new-ryuslash.org-f0c1ca14686080bcdb7c6b07f2c7530b56ddbd29.zip
Add gitlab-ci configuration
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