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 committed 2015-07-13 10:35:22 -04:00
commit f27cbe1325
1 file changed
+3
+3
View File
@@ -66,7 +66,10 @@ case "$1" in
;; ;;
deploy) deploy)
[[ -z $2 ]] && dokku_log_fail "Please specify an app to deploy"
APP="$2"; IMAGE="dokku/$APP" APP="$2"; IMAGE="dokku/$APP"
verify_app_name "$APP"
pluginhook pre-deploy $APP pluginhook pre-deploy $APP
is_image_buildstep_based "$IMAGE" && DOKKU_BUILDSTEP=true is_image_buildstep_based "$IMAGE" && DOKKU_BUILDSTEP=true