Commit 02235c38 authored by Caner Candan's avatar Caner Candan

* gitlab-ci: add cache of gem packages

parent 42a2492a
image: ruby:2.3
cache:
paths:
- vendor/
before_script:
- bundle install --path vendor
test:
stage: test
script:
- bundle install
- jekyll build -d test
artifacts:
paths:
......@@ -14,7 +20,6 @@ test:
pages:
stage: deploy
script:
- bundle install
- jekyll build -d public
artifacts:
paths:
......
......@@ -28,6 +28,6 @@ markdown: kramdown
highlighter: rouge
permalink: "/:title/"
paginate: 5
exclude: ["Gemfile","Gemfile.lock","less","node_modules","Gruntfile.js","package.json","README.md"]
exclude: ["vendor","Gemfile","Gemfile.lock","less","node_modules","Gruntfile.js","package.json","README.md"]
gems: [jekyll-paginate, jekyll-feed]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment