Updated deploy task to build first.