diff --git a/workspaces/cms-scripts/src/index.ts b/workspaces/cms-scripts/src/index.ts index 6f07c48d3a7..9f960a5aec1 100644 --- a/workspaces/cms-scripts/src/index.ts +++ b/workspaces/cms-scripts/src/index.ts @@ -11,7 +11,7 @@ import { AnnouncementsPost, RoadmapDetails, RoadmapPost, - getAnnouncements, + // getAnnouncements, getPages, getPosts, getRoadmapPosts, @@ -187,7 +187,7 @@ for (const simpleFile of simpleFiles) { const posts = await getPosts(); const roadmapPosts = await getRoadmapPosts(); -const announcements = await getAnnouncements(); +// const announcements = await getAnnouncements(); const pages = await getPages(); const tutorials = await getTutorials(); @@ -224,12 +224,12 @@ for (const data of roadmapPosts.filenameMap.values()) { ); } -for (const data of announcements.filenameMap.values()) { - await write( - `public/data/announcements/${data.locale}/${data.slug}.json`, - data -); -} +// for (const data of announcements.filenameMap.values()) { +// await write( +// `public/data/announcements/${data.locale}/${data.slug}.json`, +// data +// ); +// } for (const locale of locales) { await fs.mkdir(`public/data/pages/${locale}`, { recursive: true });