As an expansion to before_release, add the following hooks within your .aptible.yml to set up better automation around app lifecycle events on Aptible:
before_deploy(renamed frombefore_release.before_releaseis now deprecated, but will continue to work)after_deploy_successafter_restart_successafter_configure_successafter_scale_successafter_deploy_failureafter_restart_failureafter_configure_failureafter_scale_failure