async function handleSitePublished(_payload, { onPublish, revalidate }) {
  revalidate();
  try {
    await onPublish?.();
  } catch (error) {
    console.error("Unhandled exception in the 'onPublish' callback:", error);
  }
  return { body: { success: true }, status: 200 };
}
export {
  handleSitePublished
};
//# sourceMappingURL=site-published.js.map