Handling Failed Deployments and Recovering Automatically

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?

Hi Richard,

Thanks for getting in touch! Any step but the first one will give you the option to run always, only on success or only on failure.
Would this suit your needs?