summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdeploy.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index 915e4b98..891eadf9 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -38,4 +38,7 @@ if [[ -z $DEPLOY_COMPASS && -z $DEPLOY_HOST && -z $REDEPLOY_HOST ]]; then
export DEPLOY_HOST="true"
fi
-$COMPASS_DIR/deploy/launch.sh $*
+LOG_DIR=$COMPASS_DIR/work/deploy/log
+mkdir -p $LOG_DIR
+
+$COMPASS_DIR/deploy/launch.sh $* 2>&1 | tee $LOG_DIR/compass-deploy.log