更新 .drone.yml
Some checks failed
continuous-integration/drone/push Build is passing
部署文档 / deploy-gh-pages (push) Has been cancelled

This commit is contained in:
罗佳鸿 2024-08-13 18:42:04 +00:00
parent 508a775e87
commit 35b0842c12

View File

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