umi build remote=root@www.tianyunperfect.cn # 在本地执行的代码,比如上传文件到服务器 scp 本地文件 user@ip:远程目录 scp -r dist/* ${remote}:/app/memory/static echo ok