From d666494515c626ca2baea055e77d5e7fd33ccf03 Mon Sep 17 00:00:00 2001 From: 13078417792 <397201698@qq.com> Date: Wed, 2 Jun 2021 18:21:56 +0800 Subject: [PATCH] Update .drone.yml --- .drone.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 8ceca821..a0071b4f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ trigger: steps: - - name: restore + - name: restore-modules image: drillster/drone-volume-cache volumes: - name: modules @@ -24,6 +24,15 @@ steps: - yarn - yarn build:prod + - name: rebuild-modules + image: drillster/drone-volume-cache + volumes: + - name: modules + path: /cache + settings: + rebuild: true + mount: + - ./node_modules volumes: - name: modules