田源
2023-09-15 80ef464bf93212805d6b36f12b7791edda04e23e
1
2
3
4
5
6
7
8
9
#!/bin/bash
 
echo "====================打包文件===================="
yarn build
echo "====================传输文件===================="
 
scp -P 22 -r ./dist/** root@192.168.0.157:/docker/nginx/web/html
 
echo "====================部署完毕===================="