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 set -e
pushd ./web_app pushd ./web_app
rm -r -f dist
npm run build npm run build
popd popd
rm -r ./iopaint/web_app rm -r -f ./iopaint/web_app
cp -r web_app/dist ./iopaint/web_app cp -r web_app/dist ./iopaint/web_app
rm -r -f dist rm -r -f dist