💚 fix mv web file

pull/548/head
微凉 2021-12-21 00:15:43 +08:00
parent 3781043c78
commit c5e274f52a
1 changed files with 3 additions and 3 deletions

View File

@ -37,14 +37,14 @@ yarn
if [ "$1" == "release" ]; then
yarn build --base="https://cdn.jsdelivr.net/gh/Xhofe/alist-web@cdn/v2/$webCommit"
mv dist/assets ..
mv dist/ ../alist/public
mv dist/index.html ../alist/public
# 构建local
yarn build
mv dist/index.html dist/local.html
mv dist/ ../alist/public
mv dist/* ../alist/public
else
yarn build
mv dist/ ../alist/public
mv dist/* ../alist/public
fi
cd ..