|
@@ -9,16 +9,16 @@ trigger:
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
|
|
|
- # 获取缓存 (首次部署注释掉此处)
|
|
|
|
- - 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
|
|
|
|
|
|
# 参考:
|
|
# 参考:
|
|
# https://www.jianshu.com/p/4aaac6c0c105
|
|
# https://www.jianshu.com/p/4aaac6c0c105
|