Don't run caching steps on CI when not master or PR
This commit is contained in:
parent
022094ce51
commit
7ca91cf882
@ -12,6 +12,9 @@ steps:
|
||||
restore: true
|
||||
mount:
|
||||
- vendor
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- name: rspec
|
||||
image: guildeducation/rails:2.7.1-12.19.0
|
||||
commands:
|
||||
@ -30,6 +33,9 @@ steps:
|
||||
rebuild: true
|
||||
mount:
|
||||
- vendor
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
|
Loading…
x
Reference in New Issue
Block a user