mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
18 lines
459 B
Bash
Executable File
18 lines
459 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
|
source "$PLUGIN_CORE_AVAILABLE_PATH/app-json/internal-functions"
|
|
|
|
app_json_post_deploy() {
|
|
declare desc="app-json scripts execution"
|
|
local trigger="app_json_post_deploy"
|
|
local APP="$1"
|
|
local IMAGE_TAG="$4"
|
|
local PHASE_SCRIPT_KEY="postdeploy"
|
|
|
|
execute_script "$APP" "$IMAGE_TAG" "$PHASE_SCRIPT_KEY"
|
|
}
|
|
|
|
app_json_post_deploy "$@"
|