documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Document deploy failure hook

Open seenmyfate opened this issue 13 years ago • 5 comments

Document feature added by this PR

seenmyfate avatar Nov 01 '13 12:11 seenmyfate

:+1: very useful feature.

Also this page: http://capistranorb.com/documentation/getting-started/rollbacks/ could explain why and how rollbacks works (the fact that they are not automatic in case of failure for example).

damienalexandre avatar Jan 28 '15 16:01 damienalexandre

@damienalexandre the docs are a great place to start contributing if you've just been through the pain of figuring out how this worked without any useful docs.

If you haven't figured it out yet:

  • we don't roll back by default because it's possibly destructive (plugins, deleted builds, no way to see how it worked out, etc, possibly risky trying to guess (on our side) what the previous build was, etd)
  • the rollback flow is documented in http://capistranorb.com/documentation/getting-started/flow/

leehambley avatar Jan 28 '15 16:01 leehambley

Duplicated by and fixed in https://github.com/capistrano/documentation/issues/124

will-in-wi avatar Jan 18 '16 13:01 will-in-wi

I stand corrected, the deploy:failure hook does not appear to be documented. Rollback is documented.

will-in-wi avatar Jan 18 '16 16:01 will-in-wi

Added some possible docs in https://github.com/capistrano/documentation/pull/157.

will-in-wi avatar Jan 18 '16 16:01 will-in-wi