clay : ci/cd

This commit is contained in:
clay
2023-04-21 15:38:16 +08:00
parent 86738ad722
commit c3d3cf77eb
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ steps:
- export NODE_MODULES_PATH=`pwd`/node_modules
- set NODE_OPTIONS=--openssl-legacy-provider
- npm install --registry=https://registry.npm.taobao.org
- npm run build:pro
- npm run build:prod
- rm -rf /app/build/$DRONE_COMMIT_BRANCH/dist
- cp -r dist /app/build/$DRONE_COMMIT_BRANCH/dist
- chmod 777 /app/build/$DRONE_COMMIT_BRANCH/dist