Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-09-05 14:59:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dd20f6697a5a7ff42b886a10fa7bb376a4a3d598
dd20f669
1 parent
5362c74b
fix 编译细节调整,只处理自身部分代码,不能把整个文件夹处理掉
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
publish.sh
publish.sh
View file @
dd20f66
...
...
@@ -20,10 +20,14 @@ output=voice
npm run build
# 移除Git服务器目录下项目文件夹
rm -r
$path
"/
${
output
:?
}
"
rm -r
$path
"/
${
output
:?
}
/images"
rm -r
$path
"/
${
output
:?
}
/index.html"
rm -r
$path
"/
${
output
:?
}
/static"
# 把本地编译输出文件夹添加到服务器目录
mv
"
${
output
:?
}
/"
$path
mv
"
${
output
:?
}
/images"
$path
"/
${
output
:?
}
"
mv
"
${
output
:?
}
/index.html"
$path
"/
${
output
:?
}
"
mv
"
${
output
:?
}
/static"
$path
"/
${
output
:?
}
"
# 提交到Git服务器
cd
$path
"/
${
output
:?
}
"
...
...
Please
register
or
login
to post a comment