Last active
December 19, 2015 13:40
-
-
Save teohm/5963985 to your computer and use it in GitHub Desktop.
An attempt to reason about Capistrano v3 flow, by renaming the hooks. I'm not suggesting to rename all hooks in Capistrano v3. It is used only to help me to group tasks into the correct hooks.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deploy | |
-- | |
start | |
new_release | |
new_release_ready | |
publish | |
cleanup | |
finish | |
rollback | |
-- | |
start | |
revert_release | |
revert_release_ready | |
publish | |
cleanup_rollback | |
finish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deploy | |
-- | |
start | |
ensure_stage | |
check | |
new_release | |
create_release | |
symlink:shared | |
new_release_ready | |
bundle | |
data_migrate | |
compile_assets | |
cleanup_assets | |
publish | |
symlink:release | |
restart | |
cleanup | |
finish | |
log_revision |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rollback | |
-- | |
start | |
ensure_stage | |
check | |
revert_release | |
revert_release_ready | |
rollback_assets | |
publish | |
symlink:release | |
restart | |
cleanup_rollback | |
finish | |
log_revision |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment