@@ -1,6 +1,18 @@
+image: ruby:2.3
+
+test:
+ stage: test
+ script:
+ - gem install jekyll
+ - jekyll build -d test
+ artifacts:
+ paths:
+ - test
+ except:
+ - master
pages:
stage: deploy
- image: ruby:2.1
script:
- gem install jekyll
- jekyll build -d public
@@ -8,4 +20,4 @@ pages:
paths:
- public
only:
- - master