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
Signed by: raucao
GPG Key ID: 15E65F399D084BA9

View File

@ -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