|
|
|
@ -48,7 +48,10 @@ steps:
@@ -48,7 +48,10 @@ steps:
|
|
|
|
|
path: /dist |
|
|
|
|
commands: |
|
|
|
|
- echo 'node package start' |
|
|
|
|
# 打包 |
|
|
|
|
- ls -alh |
|
|
|
|
- echo $PROD_API_URL |
|
|
|
|
- sed -i "s#PROD_API_URL#$PROD_API_URL#g" .env.production |
|
|
|
|
- cat .env.production |
|
|
|
|
- npm config set registry https://registry.npm.taobao.org |
|
|
|
|
- npm config set cache /node_cache --global |
|
|
|
|
- npm run pre |
|
|
|
|