fix: move ps_rebuild to post-app-rename
This commit is contained in:
1 parent
3a961d2de7
commit
9d3538d587
1 file changed
+4
-4
Executable
+16
@@ -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() {
|
||||
declare desc="ps post-app-rename plugin trigger"
|
||||
declare trigger="post-app-rename"
|
||||
declare OLD_APP="$1" NEW_APP="$2"
|
||||
|
||||
ps_rebuild "$NEW_APP"
|
||||
}
|
||||
|
||||
trigger-ps-post-app-rename "$@"
|
||||
Reference in new issue
Block a user