aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-01-05 18:38:33 +0000
committerNoah Loomans <noahloomans@gmail.com>2017-01-05 18:38:33 +0000
commite32aa26b3f0e645716b098d33a80a9e31667c1fe (patch)
tree389a3f1c44f1b2140ece7c2798e6c5d012dd5b01 /.gitlab-ci.yml
parentb427d2a512fea5044314e6ab4b554420c2538ea2 (diff)
Setup GitLab pages
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..8d03a52
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,25 @@
+# This file is a template, and might need editing before it works on your project.
+# Full project: https://gitlab.com/pages/jekyll
+image: ruby:2.3
+
+test:
+ stage: test
+ script:
+ - gem install jekyll
+ - jekyll build -d test
+ artifacts:
+ paths:
+ - test
+ except:
+ - master
+
+pages:
+ stage: deploy
+ script:
+ - gem install jekyll
+ - jekyll build -d public
+ artifacts:
+ paths:
+ - public
+ only:
+ - master