cd mgr2.0
git pull
if [ ! -d "/node_modules" ]; then
npm ci
fi
npm run build
path="/home/www/v2-mgr"
if [ ! -d $path ]; then
mkdir -p $path
fi
sudo cp -r dist/* $path
exit
cd mgr2.0
git pull
if [ ! -d "/node_modules" ]; then
npm ci
fi
npm run build
path="/home/www/v2-mgr"
if [ ! -d $path ]; then
mkdir -p $path
fi
sudo cp -r dist/* $path
exit
本文标题:front-run.sh
本文链接:https://www.haomeiwen.com/subject/lieqjhtx.html
网友评论