build : 环境区分

This commit is contained in:
clay
2024-03-29 18:22:23 +08:00
parent 99cf83a563
commit 13d3428d7a

View File

@@ -25,7 +25,7 @@ steps:
- export NODE_MODULES_PATH=`pwd`/node_modules
#- npm config set registry https://registry.npm.taobao.org
#- set NODE_OPTIONS=--openssl-legacy-provider
# - npm install
- npm install
- npm run build
- ls /app/build/$DRONE_REPO_NAME/
- echo $NODE_MODULES_PATH
@@ -89,6 +89,6 @@ volumes:
trigger:
branch:
- prod
- dm
event:
- push