Browse Source

部署修改修改

dev-lhz
chenzhihang 1 year ago
parent
commit
289725f6f9
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      k8s/build-node.sh

+ 6
- 5
k8s/build-node.sh View File

@@ -3,12 +3,13 @@
baseDir="/home/somuns/ci4s"
cd ${baseDir}/react-ui

# npm install
npm install -g npm@10.9.0
npm install

#if [ $? -ne 0 ]; then
# echo "Failed to install npm depend package"
# exit 1
#fi
if [ $? -ne 0 ]; then
echo "Failed to install npm depend package"
exit 1
fi


npm run build


Loading…
Cancel
Save