Browse Source

drone rebuild cache

luis 7 years ago
parent
commit
e5f961a39c
1 changed files with 11 additions and 0 deletions
  1. 11 0
      .drone.yml

+ 11 - 0
.drone.yml

@@ -8,6 +8,17 @@ cache:
     - "go/deps"
 
 pipeline:
+ rebuild-cache:
+    image: drillster/drone-volume-cache
+    rebuild: true
+    mount:
+      - ./browser/vue-flow/node_modules
+      - ./go/deps
+    # Mount the cache volume, needs "Trusted"
+    volumes:
+      - /tmp/cache:/cache
+
+
   restore-cache:
     image: drillster/drone-volume-cache
     restore: true