更新 .drone.yml

This commit is contained in:
zhangkaihuai
2024-09-15 10:13:08 +00:00
parent b4f3f7d108
commit f4ed8ef352

View File

@@ -19,12 +19,10 @@ steps:
- cp nginx.conf /app/build/$DRONE_REPO_NAME/
- npm -v
- mkdir -p ./node_modules
- ls
- export NODE_MODULES_PATH=`pwd`/node_modules
- npm config set registry https://registry.npmmirror.com
- set NODE_OPTIONS=--openssl-legacy-provider
- npm install
- ls
- npm run build
- echo $NODE_MODULES_PATH
- cp -r dist /app/build/$DRONE_REPO_NAME