show logs on deploy success and failure. closes #1044
This commit is contained in:
@@ -11,7 +11,6 @@ destroy_app(){
|
||||
|
||||
failed(){
|
||||
echo "************ $1 failed ************"
|
||||
dokku logs $REPO
|
||||
destroy_app
|
||||
exit 1
|
||||
}
|
||||
@@ -47,5 +46,4 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
dokku logs $REPO
|
||||
destroy_app
|
||||
|
||||
Reference in New Issue
Block a user