Merge pull request #2407 from dokku/2367-core-post-deploy

Move core post-deploy triggers to core-post-deploy
This commit is contained in:
Jose Diaz-Gonzalez
2016-10-29 21:16:45 -06:00
committed by GitHub
9 changed files with 60 additions and 33 deletions

View File

@@ -4,13 +4,13 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/config/functions"
source "$PLUGIN_AVAILABLE_PATH/ps/functions"
ps_post_deploy() {
declare desc="ps post-deploy plugin trigger"
local trigger="ps_post_deploy"
ps_core_post_deploy() {
declare desc="ps core-post-deploy plugin trigger"
local trigger="ps_core_post_deploy"
local APP="$1"
remove_procfile "$APP"
config_set --no-restart "$APP" DOKKU_APP_RESTORE=1
}
ps_post_deploy "$@"
ps_core_post_deploy "$@"