build and deploy process