From d1169b65a6658458818b99e395cea00741eb3307 Mon Sep 17 00:00:00 2001 From: smallchill Date: Sat, 6 Feb 2021 21:57:37 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20=E5=A2=9E=E5=8A=A0=E5=BF=AB=E6=8D=B7?= =?UTF-8?q?=E9=83=A8=E7=BD=B2=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 193884a..0886879 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,9 @@ -#!/bin/bash +#!/bin/bash -echo "打包文件" +echo "====================打包文件====================" yarn build -echo "传输文件" -scp -r ./dist/** pig@139.224.200.249:/data/avue/sword -echo "部署成功" \ No newline at end of file +echo "====================传输文件====================" + +scp -P 22 -r ./dist/** root@192.168.0.157:/docker/nginx/web/html + +echo "====================部署完毕===================="