fix: Improve verify_deployment function with heredoc
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
26e9004242
commit
4978b21913
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user