|
|
@ -1,7 +1,7 @@ |
|
|
|
#!/bin/bash |
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
|
|
|
echo "====================打包文件====================" |
|
|
|
echo "====================打包文件====================" |
|
|
|
yarn build |
|
|
|
yarn build:prod |
|
|
|
echo "====================传输文件====================" |
|
|
|
echo "====================传输文件====================" |
|
|
|
|
|
|
|
|
|
|
|
scp -P 22 -r ./dist/** root@192.168.0.188:/docker/nginx/web/html |
|
|
|
scp -P 22 -r ./dist/** root@192.168.0.188:/docker/nginx/web/html |
|
|
|