Skip to content

Commit f58c906

Browse files
Update config.yml
1 parent 13c0705 commit f58c906

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.circleci/config.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ jobs:
55
docker:
66
# a packaged system that has the instructions for creating a running container.
77
- image: circleci/ruby:2.3.3
8-
9-
working_directory: ~/repo
108

119
# actions that need to be taken to perform your job
1210
steps:
@@ -17,15 +15,25 @@ jobs:
1715
# checks out the source code for a job over SSH
1816
- checkout
1917

18+
- restore_cache:
19+
keys:
20+
- gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
21+
- gem-cache-v1-{{ arch }}-{{ .Branch }}
22+
- gem-cache-v1
23+
2024
- run:
2125
name: install dependencies
22-
command: |
23-
gem install bundler
24-
bundle install
25-
26+
command: bundle install --path vendor/bundle
27+
28+
- save_cache:
29+
key: gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
30+
paths:
31+
- vendor/bundle
32+
2633
- run:
2734
name: deployment
2835
command: |
36+
git status
2937
if [ "${CIRCLE_BRANCH}" == "source-design-merge" ]; then
3038
rake deploy
3139
else

0 commit comments

Comments
 (0)