@@ -21,15 +21,15 @@ steps:
- name: repository
path: /cache
# 更新缓存
-# - name: rebuild-cache
-# image: drillster/drone-volume-cache
-# settings:
-# rebuild: true
-# mount:
-# - /root/.m2/repository
-# volumes:
-# - name: repository
-# path: /cache
+ - name: rebuild-cache
+ image: drillster/drone-volume-cache
+ settings:
+ rebuild: true
+ mount:
+ - /root/.m2/repository
+ volumes:
+ - name: repository
+ path: /cache
# 打包 prod
- name: build-prod