🔒 Improve SSH connection handling, enhance file transfer reliability, and update OAuth error handling and tests
This commit is contained in:
@@ -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)"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user