Skip to content

Commit 6cee1fd

Browse files
committed
Deploy app to GitHub Pages
1 parent a05b0a8 commit 6cee1fd

File tree

3 files changed

+295
-7
lines changed

3 files changed

+295
-7
lines changed

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const config = {
1818
},
1919

2020
organizationName: "codeharborhub",
21-
projectName: "codeharborhub",
21+
projectName: "codeharborhub.github.io",
2222

2323
onBrokenLinks: "throw",
2424
onBrokenMarkdownLinks: "warn",
@@ -39,7 +39,7 @@ const config = {
3939
keywords: ["my-custom-admonition"],
4040
extendDefaults: true,
4141
},
42-
editUrl: "https://github.com/codeharborhub/codeharborhub/edit/main/",
42+
editUrl: "https://github.com/codeharborhub/codeharborhub.github.io/edit/main/",
4343
remarkPlugins: [remarkMath],
4444
rehypePlugins: [rehypeKatex],
4545
},
@@ -48,7 +48,7 @@ const config = {
4848
},
4949
blog: {
5050
showReadingTime: true,
51-
editUrl: "https://github.com/codeharborhub/codeharborhub/edit/main/",
51+
editUrl: "https://github.com/codeharborhub/codeharborhub.github.io/edit/main/",
5252
remarkPlugins: [[npm2yarn, { converters: ["pnpm"] }]],
5353
},
5454
theme: {

package-lock.json

Lines changed: 289 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"build": "docusaurus build",
99
"swizzle": "docusaurus swizzle",
1010
"deploy": "docusaurus deploy",
11+
"deploy-gh-pages": "gh-pages -d build",
1112
"clear": "docusaurus clear",
1213
"serve": "docusaurus serve",
1314
"write-translations": "docusaurus write-translations",
@@ -63,7 +64,8 @@
6364
"devDependencies": {
6465
"@docusaurus/module-type-aliases": "^3.3.2",
6566
"@docusaurus/types": "^3.3.2",
66-
"dotenv": "^16.4.5"
67+
"dotenv": "^16.4.5",
68+
"gh-pages": "^6.1.1"
6769
},
6870
"browserslist": {
6971
"production": [

0 commit comments

Comments
 (0)