Redirect deploy script output to log file