diff --git a/up_website.sh b/up_website.sh index 77c9ae6..47e1fd9 100644 --- a/up_website.sh +++ b/up_website.sh @@ -1,10 +1,10 @@ #!/bin/bash # 配置参数 -LOCAL_DIR="/Users/ainongkeji/code/vue/jiebanke/website" +LOCAL_DIR="./website" REMOTE_USER="root" REMOTE_HOST="1.13.156.49" -REMOTE_DIR="/data/php/jiebanke/www" +REMOTE_DIR="/data/website/jiebanke/" # 检查本地目录是否存在 if [ ! -d "$LOCAL_DIR" ]; then