Skip to content

Commit cb7b599

Browse files
author
tkokhing
committed
re-org forMulti-root workspace, posts pulling processes, upd yaml gitignore
1 parent 0ce70ce commit cb7b599

4 files changed

Lines changed: 17 additions & 13 deletions

File tree

.github/workflows/nextjs.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
id: move_frontier_post
4949
run: |
5050
echo "Present working directory---->: $(pwd)"
51-
mkdir _frontier
52-
mv ./temp_frontier/_frontier/*.mdx ./_frontier
51+
mkdir -p _frontier_post/_frontier
52+
mv ./temp_frontier/_frontier/*.mdx ./_frontier_post/_frontier
5353
rm -rf ./temp_frontier
5454
echo "ls -lha ---->:"
5555
ls -lha .
@@ -92,8 +92,8 @@ jobs:
9292
id: move_linux_post
9393
run: |
9494
echo "Present working directory---->: $(pwd)"
95-
mkdir _linux
96-
mv ./temp_linux/_linux/*.mdx ./_linux
95+
mkdir -p _linux_post/_linux/
96+
mv ./temp_linux/_linux/*.mdx ./_linux_post/_linux/
9797
rm -rf ./temp_linux
9898
echo "ls -lha ---->:"
9999
ls -lha .
@@ -109,8 +109,10 @@ jobs:
109109
ls -lha ./_topic_post/_topics
110110
echo "Advance check on blog post loaded onto ./_blog_post/_blogs"
111111
ls -lha ./_blog_post/_blogs
112-
echo "Advance check on linux post loaded onto ./_linux"
113-
ls -lha ./_linux
112+
echo "Advance check on linux post loaded onto ./_linux_post/_linux/"
113+
ls -lha ./_linux_post/_linux/
114+
echo "Advance check on frontier post loaded onto ./_frontier_post/_frontier/"
115+
ls -lha ./_frontier_post/_frontier
114116
echo "Advance check on linux post loaded onto ./public"
115117
ls -lhaR ./public
116118
- name: Detect package manager

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ src/lib/_data_exporter/
1919
/.next/
2020
/out/
2121
/dist/
22+
2223
/_blog_post
23-
/_frontier
24+
/_frontier_post/
25+
2426
/_topic_post
25-
/_linux
26-
/_mdxposts
27+
/_linux_post
28+
2729
/mytest
2830
/public
2931

src/app/blog/posts/securing-digital-frontiers/[slug]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// [tkokhing/frontier_post/_frontier] MDX_FOLDER
1+
// [tkokhing/frontier_post/_frontier_post/_frontier] MDX_FOLDER
22
import { Metadata } from "next";
33
import { notFound } from "next/navigation";
44
import Container from "@/app/_components/preference/container";
@@ -10,7 +10,7 @@ import { generatePageStaticParams } from "@/lib/generatePageStaticParams";
1010
import { CyberDomainData } from "@/app/_components/preference/data-exporter";
1111
import { BlueprintBattlefieldData } from "@/app/_components/preference/data-exporter";
1212
import { CyberThreatsData } from "@/app/_components/preference/data-exporter";
13-
const MDX_FOLDER = "_frontier";
13+
const MDX_FOLDER = "_frontier_post/_frontier";
1414

1515
type Params = {
1616
params: Promise<{

src/app/topics/AtoZ/terrified-by-linux/[slug]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// [tkokhing/linux_post/_linux] MDX_FOLDER
1+
// [tkokhing/linux_post/_linux_post/_linux/] MDX_FOLDER
22
import { Metadata } from "next";
33
import { notFound } from "next/navigation";
44
import Container from "@/app/_components/preference/container";
@@ -13,7 +13,7 @@ import Note from "@/app/_components/blog_frame/note";
1313
import Tip from "@/app/_components/blog_frame/tip";
1414
import CodeLine from "@/app/_components/blog_frame/codeline";
1515

16-
const MDX_FOLDER = "_linux";
16+
const MDX_FOLDER = "_linux_post/_linux/";
1717

1818
type Params = {
1919
params: Promise<{

0 commit comments

Comments
 (0)