Moved log of deploy message before the actual deploy.

This way, you can examine things while the deploy is happening.