forked from 77media/video-flow
更新 打包时移除cache
This commit is contained in:
parent
88bc67a83b
commit
246ca90e27
3
.gitignore
vendored
3
.gitignore
vendored
@ -46,3 +46,6 @@ dist
|
|||||||
build_and_copy.log
|
build_and_copy.log
|
||||||
*.log
|
*.log
|
||||||
*.lock
|
*.lock
|
||||||
|
|
||||||
|
# git
|
||||||
|
.github
|
||||||
|
|||||||
@ -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/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user