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:
Râu Cao
2023-03-09 11:10:09 +07:00
parent e8bbe6c713
commit 9cf309aaa8

View File

@@ -12,7 +12,7 @@ steps:
settings:
restore: true
mount:
- ./vendor
- ./vendor/cache
when:
branch:
- master
@@ -37,7 +37,7 @@ steps:
settings:
rebuild: true
mount:
- ./vendor
- ./vendor/cache
when:
branch:
- master