@@ -1,9 +1,14 @@
image: ruby:2.3
+variables:
+ JEKYLL_ENV: production
+
+before_script:
+ - bundle install
test:
stage: test
script:
- - bundle
- bundle exec jekyll build -d test
artifacts:
paths:
@@ -14,7 +19,6 @@ test:
pages:
stage: deploy
- bundle exec jekyll build -d public
@@ -56,6 +56,9 @@ defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
```
- gem install jekyll