Skip to content

Commit 157a215

Browse files
authored
Merge pull request #90 from dzcode-io/23-social-media-integration
23 social media integration
2 parents e4b05ed + de2d960 commit 157a215

File tree

18 files changed

+248
-97
lines changed

18 files changed

+248
-97
lines changed

.github/workflows/deploy-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy Data
33
on:
44
push:
55
tags:
6-
- 'prd-*'
6+
- "prd-*"
77
paths:
88
- ".github/workflows/deploy-data.yml"
99
- "data/**"

.github/workflows/deploy-frontend.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ name: Deploy Frontend
33
on:
44
push:
55
tags:
6-
- 'prd-*'
6+
- "prd-*"
77
paths:
88
- ".github/workflows/deploy-frontend.yml"
99
- "frontend/**"
10+
- "data/*/ssr.json"
1011

1112
jobs:
1213
Build-Deploy:

.github/workflows/deploy-staging-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy Staging Data
33
on:
44
push:
55
tags:
6-
- 'stg-*'
6+
- "stg-*"
77
paths:
88
- ".github/workflows/deploy-staging-data.yml"
99
- "data/**"

.github/workflows/deploy-staging-frontend.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ name: Deploy Staging Frontend
33
on:
44
push:
55
tags:
6-
- 'stg-*'
6+
- "stg-*"
77
paths:
88
- ".github/workflows/deploy-staging-frontend.yml"
99
- "frontend/**"
10+
- "data/*/ssr.json"
1011

1112
jobs:
1213
Build-Deploy:

data/articles/ssr.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"items": ["Welcome_to_dzCode", "Test_Article"],
3+
"include": ["title", "description", "image"]
4+
}

data/documentation/ssr.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"items": [
3+
"Getting_Started",
4+
"Git_Basics",
5+
"Git_Basics/Git_and_Github",
6+
"Git_Basics/Basic_Git_Commands",
7+
"Git_Basics/Managing_Conflict",
8+
"Git_Basics/Collaboration_Scenarios",
9+
"Advanced_Git_Commands",
10+
"Advanced_Git_Commands/Git_Reflog",
11+
"Advanced_Git_Commands/Git_Clean",
12+
"Advanced_Git_Commands/Git_Rebase"
13+
],
14+
"include": ["title", "description", "image"]
15+
}

data/projects/ssr.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"items": ["Algerian_Users"],
3+
"include": ["title", "description", "image"]
4+
}

data/src/build.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { getDataCollection, getDataEntry } from "./utils/data";
1+
import {
2+
getDataCollection,
3+
getDataEntry,
4+
} from "../../fullstack/dist/utils/data";
25
import fse from "fs-extra";
36
import glob from "glob";
47

data/src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { getDataCollection, getDataEntry } from "./utils/data";
1+
import {
2+
getDataCollection,
3+
getDataEntry,
4+
} from "../../fullstack/dist/utils/data";
25
import express from "express";
36
import { fullstackConfig } from "./config";
47

data/src/types/index.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)