🔒 Improve SSH connection handling, enhance file transfer reliability, and update OAuth error handling and tests

This commit is contained in:
2026-01-30 04:53:18 +00:00
parent ab595394be
commit 9fdfbb22d8
14 changed files with 218 additions and 103 deletions

View File

@@ -296,7 +296,7 @@ deploy_to_server() {
fi
# Build deployment command
DEPLOY_CMD="node ../../../utils/deploy-pokedex.js --target $TARGET --port $PORT --backend-port $BACKEND_PORT"
DEPLOY_CMD="node ../../utils/deploy-pokedex.js --target $TARGET --port $PORT --backend-port $BACKEND_PORT"
[ -n "$SSL_PORT" ] && DEPLOY_CMD="$DEPLOY_CMD --ssl-port $SSL_PORT"
log_info "Executing deployment..."
@@ -401,7 +401,7 @@ rollback() {
echo " ./deploy.sh --skip-tests --target $TARGET"
echo ""
echo "Or use the deployment script's built-in rollback:"
echo " node ../../../utils/deploy-pokedex.js --target $TARGET"
echo " node ../../utils/deploy-pokedex.js --target $TARGET"
echo " (will auto-rollback on failure)"
}