更新 .drone.yml
This commit is contained in:
parent
508a775e87
commit
35b0842c12
|
|
@ -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 # 修改为你的构建脚本
|
||||
|
|
|
|||
Loading…
Reference in New Issue