删除 web-腾讯云.bat
This commit is contained in:
parent
7afef39ae9
commit
30d3f73a2d
26
web-腾讯云.bat
26
web-腾讯云.bat
@ -1,26 +0,0 @@
|
||||
@echo off
|
||||
|
||||
::设置服务器ip、账号、密码
|
||||
set serverip=120.53.247.15
|
||||
set serveruser=root
|
||||
set userpwd=phy0316.
|
||||
|
||||
::设置上传路径
|
||||
set uploadpathsup=/usr/local/src/phy/chat/
|
||||
|
||||
::更新开始
|
||||
echo dist clean start...
|
||||
rd/s/q dist
|
||||
echo dist clean finished!
|
||||
|
||||
echo npm run build:prod start...
|
||||
cmd /c "npm run build"
|
||||
echo build:prod finished!
|
||||
|
||||
echo prod update start...
|
||||
pscp -l %serveruser% -pw "%userpwd%" -r ".\dist" %serveruser%@%serverip%:%uploadpathsup%
|
||||
echo prod update finished!
|
||||
::更新结束
|
||||
|
||||
echo update finished!
|
||||
pause
|
Loading…
Reference in New Issue
Block a user