Prevent mounting of checked-in vendored files
Mount bundle cache specifically on `vendor/cache` instead of all of `vendor`, which prevents access to vendored javascript code for example.
This commit is contained in:
parent
e8bbe6c713
commit
9cf309aaa8
@ -12,7 +12,7 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
restore: true
|
restore: true
|
||||||
mount:
|
mount:
|
||||||
- ./vendor
|
- ./vendor/cache
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
@ -37,7 +37,7 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
rebuild: true
|
rebuild: true
|
||||||
mount:
|
mount:
|
||||||
- ./vendor
|
- ./vendor/cache
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
Loading…
x
Reference in New Issue
Block a user