This commit is contained in:
freedakgmail
2025-11-24 16:07:24 +08:00
parent 3d075c6076
commit b25f4bea02
426 changed files with 3619 additions and 4468 deletions
+2 -1
View File
@@ -189,7 +189,7 @@ fi
echo -e "\n${YELLOW}[7/9] 上传文件到服务器...${NC}"
# 排除不需要上传的文件
rsync -avz --progress \
rsync -avz --progress --delete \
--exclude 'node_modules' \
--exclude '.git' \
--exclude '.next/cache' \
@@ -203,6 +203,7 @@ rsync -avz --progress \
--exclude 'deploy-manual.sh' \
--exclude 'setup-ssh-key.sh' \
--exclude '*.tar.gz' \
--exclude 'public/uploads/*' \
-e "ssh -p $SSH_PORT" \
./ $SERVER_USER@$SERVER_IP:$REMOTE_DIR/