0.0.9.0
This commit is contained in:
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user