From 35b0842c1207fdf45dd1cdf8dec1d088524a23c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E4=BD=B3=E9=B8=BF?= <2446434034@qq.com> Date: Tue, 13 Aug 2024 18:42:04 +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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 73b22ad..c421487 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,8 +19,8 @@ steps: commands: - pwd - ls -alt - - npm config set registry https://registry.npmjs.org/ - - npm cache clean --force + - npm config set registry https://registry.npmjs.org/ # 切换到官方 npm 镜像源 + - npm cache clean --force # 清理缓存 - npm install - name: build-vuepress @@ -33,4 +33,4 @@ steps: commands: - cd /drone/src - npm install -g vuepress - - npm run build + - npm run docs:build # 修改为你的构建脚本