From dd356d02eec4ff5bb4dd8e4bb1e177d3733eb53a Mon Sep 17 00:00:00 2001 From: rhy-jot Date: Thu, 28 Nov 2013 11:20:09 -0800 Subject: [PATCH] Clean up first. This allows users to get logs from failed runs before they're wiped out. Ref: #354 --- dokku | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dokku b/dokku index dde4c17c3..516b84ef2 100755 --- a/dokku +++ b/dokku @@ -15,14 +15,14 @@ fi case "$1" in receive) APP="$2"; IMAGE="app/$APP" + echo "-----> Cleaning up ..." + dokku cleanup echo "-----> Building $APP ..." cat | dokku build $APP $IMAGE echo "-----> Releasing $APP ..." dokku release $APP $IMAGE echo "-----> Deploying $APP ..." dokku deploy $APP $IMAGE - echo "-----> Cleaning up ..." - dokku cleanup echo "=====> Application deployed:" echo " $(dokku url $APP)" echo