更新 .drone.yml

This commit is contained in:
zhangkaihuai
2024-09-15 09:56:12 +00:00
parent 9551abe975
commit 3d67a78d64

View File

@@ -18,8 +18,6 @@ steps:
- cp docker.sh /app/build/$DRONE_REPO_NAME/ - cp docker.sh /app/build/$DRONE_REPO_NAME/
- cp nginx.conf /app/build/$DRONE_REPO_NAME/ - cp nginx.conf /app/build/$DRONE_REPO_NAME/
- npm -v - npm -v
- ls
- rm -rf ./node_modules
- mkdir -p ./node_modules - mkdir -p ./node_modules
- export NODE_MODULES_PATH=`pwd`/node_modules - export NODE_MODULES_PATH=`pwd`/node_modules
- npm config set registry https://registry.npmmirror.com - npm config set registry https://registry.npmmirror.com