Fixed deployment script (to not build on tags)