automatically build before deploy