Update deploy.sh

This commit is contained in:
木子李·De 2022-04-13 14:55:13 +08:00
parent aa0e394503
commit d5f6b6ba35

View File

@ -19,6 +19,7 @@ npm install >/dev/null 2>&1
npm run build:prod
echo "publish web to springboot src/main/resources/static"
rm -rf $BuildDir/report-core/src/main/resources/db/migration
rm -rf $BuildDir/report-core/src/main/resources/static
mkdir -p $BuildDir/report-core/src/main/resources/static
mv $BuildDir/report-ui/dist/* $BuildDir/report-core/src/main/resources/static/