Browse Source

部署修改

dev-lhz
chenzhihang 1 year ago
parent
commit
5894a084ec
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      k8s/build-node.sh

+ 7
- 7
k8s/build-node.sh View File

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

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


npm run build


Loading…
Cancel
Save