Included the condition for deploy