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 # 修改为你的构建脚本