fix .public
This commit is contained in:
parent
1923341f9a
commit
5ab35df3d8
|
@ -3,6 +3,7 @@
|
|||
WORKBASE=/home/jenkins/go/src/infini.sh/console
|
||||
|
||||
if [ -d $WORKBASE/.public ]; then
|
||||
echo "clean exists .pulbic folder."
|
||||
rm -rf $WORKBASE/.public
|
||||
fi
|
||||
|
||||
|
@ -11,10 +12,11 @@ if [ ! -d $WORKBASE/web ]; then
|
|||
fi
|
||||
|
||||
cd $WORKBASE/web
|
||||
echo "build console ui to .public."
|
||||
git pull origin master
|
||||
|
||||
cnpm install
|
||||
cnpm install --quiet
|
||||
|
||||
cnpm run --silent build
|
||||
cnpm run build --silent
|
||||
|
||||
mv $WORKBASE/web/.public $WORKBASE
|
||||
|
|
Loading…
Reference in New Issue