If a production deployment fails, what steps would you take to diagnose and resolve the issue?

Situational