更新 打包时移除cache

This commit is contained in:
moux1024 2025-09-29 19:42:05 +08:00
parent 88bc67a83b
commit 246ca90e27
2 changed files with 4 additions and 0 deletions

3
.gitignore vendored
View File

@ -46,3 +46,6 @@ dist
build_and_copy.log build_and_copy.log
*.log *.log
*.lock *.lock
# git
.github

View File

@ -44,6 +44,7 @@ if [ "$current_branch" = "$BRANCH_NAME" ]; then
# 准备dist目录 # 准备dist目录
mkdir -p dist mkdir -p dist
rm -rf .next/cache
cp -r .next dist/ cp -r .next dist/
cp -r public dist/ cp -r public dist/
cp package.json dist/ cp package.json dist/