build before deploy