Skip to content

Commit d48abc2

Browse files
committed
fix: lint and add docs ci paths filter
1 parent c57f634 commit d48abc2

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
# using the `master` branch as the default branch.
66
push:
77
branches: [main]
8+
paths:
9+
- docs/
10+
- "**/*.md"
11+
- package.json
12+
- pnpm-lock.json
813

914
# Allows you to run this workflow manually from the Actions tab
1015
workflow_dispatch:
@@ -48,7 +53,7 @@ jobs:
4853

4954
- name: Build with VitePress
5055
run: pnpm docs:build
51-
56+
5257
- name: Upload artifact
5358
uses: actions/upload-pages-artifact@v3
5459
with:
@@ -65,4 +70,4 @@ jobs:
6570
steps:
6671
- name: Deploy to GitHub Pages
6772
id: deployment
68-
uses: actions/deploy-pages@v4
73+
uses: actions/deploy-pages@v4

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@
101101
"unbuild": "^2.0.0",
102102
"vitepress": "^1.5.0"
103103
}
104-
}
104+
}

0 commit comments

Comments
 (0)