Deploy even if build fails


For testing reasons one might want so still run the after-build deployment code even if the build fails.

The top level goal I have in mind, it to still deploy the application to a development server online even if the build fails, and to allow deploying to a near-production environment if only non-critical tests fail (they could be identified by a tag for example)


Try deploying from test section of your circle.yml.


How do you ensure to only run the script on a specific branch in the test section?