Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Revert "test"

This reverts commit 2dccd49.

Revert "Revert "test""

This reverts commit 22fe4c2.
  • Loading branch information
PedroBailaAndrade committed Jan 8, 2024
1 parent 2b75180 commit ea3634b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions workspaces/cms-scripts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
AnnouncementsPost,
RoadmapDetails,
RoadmapPost,
getAnnouncements,
getPages,
getPosts,
getRoadmapPosts,
Expand Down Expand Up @@ -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();

Expand Down Expand Up @@ -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 });
}
Expand Down Expand Up @@ -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()

0 comments on commit ea3634b

Please sign in to comment.