Merge pull request #1313 from progrium/1309_mh-verify-app-in-deploy

verify we have an app when deploy is called
This commit is contained in:
Jose Diaz-Gonzalez
2015-07-13 10:35:22 -04:00

3
dokku
View File

@@ -66,7 +66,10 @@ case "$1" in
;;
deploy)
[[ -z $2 ]] && dokku_log_fail "Please specify an app to deploy"
APP="$2"; IMAGE="dokku/$APP"
verify_app_name "$APP"
pluginhook pre-deploy $APP
is_image_buildstep_based "$IMAGE" && DOKKU_BUILDSTEP=true