update publish.sh

This commit is contained in:
Qing 2024-02-27 20:19:35 +08:00
parent fb70be060d
commit c7339bde1b

View File

@ -2,9 +2,10 @@
set -e
pushd ./web_app
rm -r -f dist
npm run build
popd
rm -r ./iopaint/web_app
rm -r -f ./iopaint/web_app
cp -r web_app/dist ./iopaint/web_app
rm -r -f dist