10 lines
271 B
Bash
10 lines
271 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
echo "====================打包文件===================="
|
||
|
yarn build
|
||
|
echo "====================传输文件===================="
|
||
|
|
||
|
scp -P 22 -r ./dist/** root@192.168.0.157:/docker/nginx/web/html
|
||
|
|
||
|
echo "====================部署完毕===================="
|