diff --git a/.drone.yml b/.drone.yml index 6687e63..0a52d62 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,17 +7,6 @@ platform: arch: amd64 steps: - - name: 恢复缓存 - image: drillster/drone-volume-cache - volumes: - - name: cache - path: /cache - settings: - restore: true - mount: - - ./node_modules - - ./.pnpm-store - - name: 测试服-构建部署 pull: if-not-exists image: node:20-alpine @@ -46,17 +35,6 @@ steps: - pnpm build:weapp:prod:upload - rm -rf dist.tar - - name: 重建缓存 - image: drillster/drone-volume-cache - volumes: - - name: cache - path: /cache - settings: - rebuild: true - mount: - - ./node_modules - - ./.pnpm-store - - name: 企业微信通知 pull: if-not-exists image: plugins/webhook @@ -84,8 +62,3 @@ steps: **详情**: [查看构建详情]({{ build.link }})" } } - -volumes: - - name: cache - host: - path: /tmp/drone-cache