From 9cf309aaa83fa5f16aa0bc31a0192ab132b77a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Thu, 9 Mar 2023 11:10:09 +0700 Subject: [PATCH] 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. --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8694c49..eb43e96 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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