diff --git a/workspaces/cms-scripts/src/index.ts b/workspaces/cms-scripts/src/index.ts index 6f07c48d3a7..9a88145f77e 100644 --- a/workspaces/cms-scripts/src/index.ts +++ b/workspaces/cms-scripts/src/index.ts @@ -11,7 +11,6 @@ import { AnnouncementsPost, RoadmapDetails, RoadmapPost, - getAnnouncements, getPages, getPosts, getRoadmapPosts, @@ -187,7 +186,6 @@ for (const simpleFile of simpleFiles) { const posts = await getPosts(); const roadmapPosts = await getRoadmapPosts(); -const announcements = await getAnnouncements(); const pages = await getPages(); const tutorials = await getTutorials(); @@ -224,13 +222,6 @@ 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 locale of locales) { await fs.mkdir(`public/data/pages/${locale}`, { recursive: true }); } @@ -279,5 +270,4 @@ const redirects = await yaml("_data/settings/redirects.yml"); await write(`workspaces/website/redirects.json`, redirects); await createRoadmapDetails() -await createAnnouncementDetails() await createSharedData()