Showing
1 changed file
with
6 additions
and
2 deletions
| ... | @@ -20,10 +20,14 @@ output=voice | ... | @@ -20,10 +20,14 @@ output=voice |
| 20 | npm run build | 20 | npm run build |
| 21 | 21 | ||
| 22 | # 移除Git服务器目录下项目文件夹 | 22 | # 移除Git服务器目录下项目文件夹 |
| 23 | -rm -r $path"/${output:?}" | 23 | +rm -r $path"/${output:?}/images" |
| 24 | +rm -r $path"/${output:?}/index.html" | ||
| 25 | +rm -r $path"/${output:?}/static" | ||
| 24 | 26 | ||
| 25 | # 把本地编译输出文件夹添加到服务器目录 | 27 | # 把本地编译输出文件夹添加到服务器目录 |
| 26 | -mv "${output:?}/" $path | 28 | +mv "${output:?}/images" $path"/${output:?}" |
| 29 | +mv "${output:?}/index.html" $path"/${output:?}" | ||
| 30 | +mv "${output:?}/static" $path"/${output:?}" | ||
| 27 | 31 | ||
| 28 | # 提交到Git服务器 | 32 | # 提交到Git服务器 |
| 29 | cd $path"/${output:?}" | 33 | cd $path"/${output:?}" | ... | ... |
-
Please register or login to post a comment