How to Revert to a Previous Deployment Without Deploying Broken Code?

and If i deploy the current broken code, its no longer possible to rollback to the previous deployment? Did that change?