From 89457aab297a5fc1bf9684afca6727bf62f94ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E4=BD=B3=E9=B8=BF?= <2446434034@qq.com> Date: Fri, 16 Aug 2024 03:42:13 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.drone.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index 44da081..97c9620 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,18 +10,6 @@ volumes: path: /var/lib/drone/vuepress_output steps: - - name: install-dependencies - image: node:20.16.0 - volumes: - - name: node_modules - path: /drone/src/node_modules - commands: - - pwd - - ls -alt - - npm config set registry https://registry.npmjs.org/ # 切换到官方 npm 镜像源 - - npm cache clean --force # 清理缓存 - - npm install - - name: build-vuepress image: node:20.16.0 volumes: @@ -31,5 +19,4 @@ steps: path: /drone/src/docs/.vuepress/dist commands: - cd /drone/src - - npm install -g vuepress - npm run docs:build # 修改为你的构建脚本