Triggering deploy:failed after deployment failure

See #708
Merge branch 'deploy-fail'