Deploying a site using the file digest API

Hey @m1guelpf

Check out how deployments are handled via the our javascript SDK: https://github.com/netlify/js-client/tree/master/src/deploy

https://github.com/netlify/js-client/blob/master/src/deploy/index.js#L47-L50