build: change the condition to deploy.