
windows下利用wsl+sshpass 自动发布脚本
在windows下执行: sh ./publish-dev.sh 即可
name=homecare-h5 version=v0.0.1 ip=111.xxx.xxx.xxx pwd=xxxxxx echo publish to dev env.... #yarn install echo yarn test... yarn test echo uploading.... wsl sshpass -p $pwd scp -P22 -r ./dist/* root@$ip:/www/wwwroot/homecare-h5/ echo publish success!
============ 欢迎各位老板打赏~ ===========


与本文相关的文章
- · 全网最详细的解锁 SSH ShellCrash 搭配 AdGuardHome 安装和配置教程-Clash 方案
- · github连接超时:Connection closed by remote host
- · Windows下配置Git多账号github码云
- · 这是windows还是mac?
- · nginx使用stream模块做ssh转发
- · Nginx在windows下配置iis负载均衡
- · linux无法删除和修改乱码文件名
- · nginx开机启动脚本 nginx.service
- · codium-server.service
- · 单台服务器应用不中断服务热部署滚动更新方案
- · docker安装code-server
- · centos8安装源