Commit d89553de authored by zL's avatar zL

改下脚本

parent 2985e726
......@@ -5,4 +5,6 @@ tar -czf demo.tar demo
scp demo.tar root@124.70.129.56:/usr/share/nginx/html/demo.tar
rm -rf demo.tar
ssh root@124.70.129.56 'cd /usr/share/nginx/html && rm -rf demo && tar -xzf demo.tar && rm -rf demo.tar'
echo 'done. 👉 http://124.70.129.56:8996/demo/(http://124.70.129.56:8996/)'
echo 'done. 👉 http://124.70.129.56:8996/'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment