File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,22 +14,22 @@ jobs:
14
14
15
15
# checks out the source code for a job over SSH
16
16
- checkout
17
-
17
+
18
18
- restore_cache :
19
19
keys :
20
20
- gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
21
21
- gem-cache-v1-{{ arch }}-{{ .Branch }}
22
22
- gem-cache-v1
23
-
23
+
24
24
- run :
25
25
name : install dependencies
26
26
command : bundle install --path vendor/bundle
27
-
27
+
28
28
- save_cache :
29
29
key : gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
30
30
paths :
31
31
- vendor/bundle
32
-
32
+
33
33
- run :
34
34
name : deployment
35
35
command : |
Original file line number Diff line number Diff line change 1
1
def git_clean?
2
2
git_state = `git status 2> /dev/null | tail -n1`
3
- clean = ( git_state =~ /working tree clean/ )
3
+ clean = ( git_state =~ /clean/ )
4
4
end
5
5
6
6
task :check_git do
You can’t perform that action at this time.
0 commit comments