Skip to content

Commit 75d0814

Browse files
committed
ci: use right path for building
Signed-off-by: Ramon Roche <[email protected]>
1 parent e30b1ad commit 75d0814

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
node-version: 20
2323
cache: 'npm'
24-
cache-dependency-path: docs/package-lock.json
24+
cache-dependency-path: package-lock.json
2525

2626
- name: Install dependencies
2727
run: npm ci
@@ -32,7 +32,7 @@ jobs:
3232
- name: Upload site artifact
3333
uses: actions/upload-pages-artifact@v3
3434
with:
35-
path: docs/.vitepress/dist
35+
path: .vitepress/dist
3636

3737
deploy:
3838
needs: build

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"vitepress": "^1.6.3"
66
},
77
"scripts": {
8-
"docs:dev": "vitepress dev docs",
9-
"docs:build": "vitepress build docs",
10-
"docs:preview": "vitepress preview docs"
8+
"docs:dev": "vitepress dev .",
9+
"docs:build": "vitepress build .",
10+
"docs:preview": "vitepress preview ."
1111
}
1212
}

0 commit comments

Comments
 (0)