Try to cache the whole Bundle directory in CI

parent 2aa0edd3
Pipeline #66 canceled with stage
in 22 seconds
...@@ -21,7 +21,7 @@ deploy-prod: ...@@ -21,7 +21,7 @@ deploy-prod:
cache: cache:
key: gems key: gems
paths: paths:
- "/usr/local/bundle/cache" - "/usr/local/bundle"
only: only:
- master - master
...@@ -30,13 +30,12 @@ pages: ...@@ -30,13 +30,12 @@ pages:
script: script:
- bundle install - bundle install
- jekyll build -d public - jekyll build -d public
- echo "Nothing to do."
artifacts: artifacts:
paths: paths:
- public - public
cache: cache:
key: gems key: gems
paths: paths:
- "/usr/local/bundle/cache" - "/usr/local/bundle"
only: only:
- develop - develop
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