From c53d11cf99071b2f3abb1c11e41fc0d210a86d71 Mon Sep 17 00:00:00 2001 From: makeit Date: Wed, 7 Aug 2024 16:58:12 +0800 Subject: [PATCH] drone.yml --- .drone.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5c7d27c..d6416cb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,9 +5,6 @@ name: makeit-scan steps: - name: 'build' image: node - volumes: - - name: node_modules_cache - path: /drone/src/node_modules commands: - node -v - npm -v @@ -43,12 +40,7 @@ steps: script: - echo '====== deploy start ======' - cd /makeit/web/scan - - rm -rf index.html favicon.ico _assets ads.txt + - rm -rf !\(dist*\) - mv ./dist/* ./ - rm -rf dist - - echo '====== deploy success ======' - -volumes: - - name: node_modules_cache - host: - path: /makeit/web/drone/node_modules \ No newline at end of file + - echo '====== deploy success ======' \ No newline at end of file