@@ -9,16 +9,16 @@ trigger:
steps:
- # Maven 缓存
- - name: restore-cache
- image: drillster/drone-volume-cache
- settings:
- restore: true
- mount:
- - /root/.m2/repository
- volumes:
- - name: repository
- path: /cache
+ # 获取缓存 (首次部署注释掉此处)
+# - name: restore-cache
+# image: drillster/drone-volume-cache
+# settings:
+# restore: true
+# mount:
+# - /root/.m2/repository
+# volumes:
+# - name: repository
+# path: /cache
# 打包 prod
- name: build-prod