Skip to content

Commit 425c9b5

Browse files
committed
chore: building a page
1 parent d5ba569 commit 425c9b5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
- name: Checkout
3232
uses: actions/checkout@v4
3333
with:
34-
fetch-depth: 0
35-
- uses: pnpm/action-setup@v3
34+
fetch-depth: 0
35+
- uses: pnpm/action-setup@v3
3636
with:
3737
version: 8
3838
- name: Setup Node
@@ -45,7 +45,7 @@ jobs:
4545
- name: Install dependencies
4646
run: pnpm install
4747
- name: Build with VitePress
48-
run: pnpm build
48+
run: pnpm docs:build
4949
- name: Upload artifact
5050
uses: actions/upload-pages-artifact@v3
5151
with:

docs/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { defineConfig } from 'vitepress'
33
// https://vitepress.dev/reference/site-config
44
export default defineConfig({
55
title: 'x-crawl',
6+
base: '/x-crawl/',
67

78
head: [['link', { rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' }]],
89

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"scripts": {
66
"dev": "vitepress dev",
7-
"build": "vitepress build",
7+
"docs:build": "vitepress build",
88
"preview": "vitepress preview"
99
},
1010
"devDependencies": {

0 commit comments

Comments
 (0)