lib/deployer.js
async function _updateSite(siteId, tree, manifest, content) {
  const endpoint = url.resolve(apiURL, `/sites/${siteId}`);
  const body = { tree, content, manifest };
  const response = await got.post(endpoint, { body, json: true, headers: _bearer() });
  return response.body.site;
}
async function _updateSite(siteId, tree, manifest, content) {
  const endpoint = url.resolve(apiURL, `/sites/${siteId}`);
  const body = { tree, content, manifest };
  const response = await got.post(endpoint, { body, json: true, headers: _bearer() });
  return response.body.site;
}
async function _updateSite ( siteId , tree , manifest , content ) { const endpoint = url . resolve ( apiURL , ` ${ siteId } ` ) ; const body = { tree , content , manifest } ; const response = await got . post ( endpoint , { body , json : true , headers : _bearer ( ) } ) ; return response . body . site ; }
Update the site

@param {string} siteId
@param {Object} manifest
Update the site