Is there a way to handle a failed step and conditionally run another step to restore the deployment target to it’s original state?
Our current deployment process starts by backing up the website and the database and then beginning the database migration. It would be great if there was a way when a step fails such as the database migration to be able to call another step which restores the backup and restarts the website so the live site can continue while we exam the output to work out what went wrong.
Is this possible?