mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
feat: add pre-start trigger for notifying on application start
Closes #2713
This commit is contained in:
@@ -93,6 +93,7 @@ ps_start() {
|
||||
local IMAGE_TAG=$(get_running_image_tag "$APP");
|
||||
|
||||
if (is_deployed "$APP"); then
|
||||
plugn trigger pre-start "$APP"
|
||||
if ! (is_app_running "$APP"); then
|
||||
release_and_deploy "$APP" "$IMAGE_TAG"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user