Merge branch 'add-ci-cache' into 'dev'

Cache rubygems

See merge request cotech/website!20
This commit is contained in:
Nick Sellen 2018-11-29 17:41:21 +00:00
commit 95856d5fe8
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@ variables:
JEKYLL_ENV: production
LC_ALL: C.UTF-8
cache:
key: gems
paths:
- /usr/local/bundle/cache/
before_script:
- 'which rsync || ( apt-get update -qq && apt-get install rsync -yqq )'
- eval $(ssh-agent -s)