Files
dokku/plugins/ps/pre-deploy
2016-03-08 15:30:34 -05:00

16 lines
358 B
Bash
Executable File

#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/ps/functions"
ps_pre_deploy() {
declare desc="ps pre-deploy plugin trigger"
local trigger="ps_pre_deploy"
local APP="$1"
extract_procfile "$APP"
generate_scale_file "$APP"
}
ps_pre_deploy "$@"