File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 5
5
docker :
6
6
# a packaged system that has the instructions for creating a running container.
7
7
- image : circleci/ruby:2.3.3
8
-
9
- working_directory : ~/repo
10
8
11
9
# actions that need to be taken to perform your job
12
10
steps :
@@ -17,15 +15,25 @@ jobs:
17
15
# checks out the source code for a job over SSH
18
16
- checkout
19
17
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
+
20
24
- run :
21
25
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
+
26
33
- run :
27
34
name : deployment
28
35
command : |
36
+ git status
29
37
if [ "${CIRCLE_BRANCH}" == "source-design-merge" ]; then
30
38
rake deploy
31
39
else
You can’t perform that action at this time.
0 commit comments