Add REST API to deploy the latest bits on the selected branch