Skip to content

Commit

Permalink
fix: lint and add docs ci paths filter
Browse files Browse the repository at this point in the history
  • Loading branch information
northword committed Dec 18, 2024
1 parent c57f634 commit 333fdf7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
# using the `master` branch as the default branch.
push:
branches: [main]
paths:
- 'docs/'

Check failure on line 9 in .github/workflows/docs.yml

View workflow job for this annotation

GitHub Actions / check

Must use plain style scalar

Check failure on line 9 in .github/workflows/docs.yml

View workflow job for this annotation

GitHub Actions / check

Strings must use doublequote
- '**/*.md'

Check failure on line 10 in .github/workflows/docs.yml

View workflow job for this annotation

GitHub Actions / check

Strings must use doublequote
- package.json
- pnpm-lock.json

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -48,7 +53,7 @@ jobs:

- name: Build with VitePress
run: pnpm docs:build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand All @@ -65,4 +70,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@
"unbuild": "^2.0.0",
"vitepress": "^1.5.0"
}
}
}

0 comments on commit 333fdf7

Please sign in to comment.