Update deploy.sh

木子李·De 3 years ago
parent aa0e394503
commit d5f6b6ba35

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

Loading…
Cancel
Save