Make GitLab CI cache Ruby Gems

parent 57dfbed5
Pipeline #20 passed with stage
in 1 minute and 11 seconds
...@@ -5,17 +5,19 @@ variables: ...@@ -5,17 +5,19 @@ variables:
LC_ALL: C.UTF-8 LC_ALL: C.UTF-8
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
before_script:
- bundle install
pages: pages:
stage: deploy stage: deploy
script: script:
- bundle install
- ./.ci_fix_baseurl.sh - ./.ci_fix_baseurl.sh
- jekyll build -d public - jekyll build -d public
artifacts: artifacts:
paths: paths:
- public - public
cache:
key: gems
paths:
- vendor/bundle
only: only:
- master - master
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