Enable more debug output for bin/deploy_doc.sh

see #8387

Oh I see that you've moved redirection to the end of file.