Maybe the deploy condition requires the spaces around the "=" sign to work?