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:
commit
f27cbe1325
1 file changed
+3
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user