feat: call ps_rebuild from post-app-rename-setup
This commit is contained in:
16
plugins/ps/post-app-rename-setup
Executable file
16
plugins/ps/post-app-rename-setup
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail
|
||||
[[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/ps/functions"
|
||||
|
||||
trigger-ps-post-app-rename-setup() {
|
||||
declare desc="ps post-app-rename-setup plugin trigger"
|
||||
declare trigger="post-app-rename-setup"
|
||||
declare OLD_APP="$1" NEW_APP="$2"
|
||||
|
||||
ps_rebuild "$NEW_APP"
|
||||
}
|
||||
|
||||
trigger-ps-post-app-rename-setup "$@"
|
||||
Reference in New Issue
Block a user