From 4978b219138bb5b7e7ca446d0c4ee18c63cdc67c Mon Sep 17 00:00:00 2001 From: SysAdmin Date: Wed, 26 Nov 2025 13:14:26 +0000 Subject: [PATCH] fix: Improve verify_deployment function with heredoc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- deploy-alexhost.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy-alexhost.sh b/deploy-alexhost.sh index f0e0ed8..b664211 100644 --- a/deploy-alexhost.sh +++ b/deploy-alexhost.sh @@ -171,7 +171,7 @@ deploy_telebot() { verify_deployment() { echo -e "${YELLOW}=== Verifying Deployment ===${NC}" - ssh_sudo " + sshpass -p "$ALEXHOST_PASS" ssh -o StrictHostKeyChecking=no "$ALEXHOST_USER@$ALEXHOST_IP" << 'VERIFY_EOF' echo '' echo 'Container Status:' sudo docker ps --format 'table {{.Names}}\t{{.Status}}\t{{.Ports}}' | grep -E 'NAMES|teleshop|telebot' @@ -191,7 +191,7 @@ verify_deployment() { else echo 'TeleBot: Not running' fi - " +VERIFY_EOF } # Cleanup build directory