Skip to content

Commit

Permalink
ci: fix deploy docs actions
Browse files Browse the repository at this point in the history
  • Loading branch information
EdamAme-x committed Sep 9, 2024
1 parent 83405d8 commit edee059
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs_site_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- name: Build with VitePress
run: |
bun run build # or pnpm docs:build / yarn docs:build / bun run docs:build
touch ./.vitepress/dist/.nojekyll
working-directory: docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down
3 changes: 2 additions & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.vitepress/cache/deps
.vitepress/cache/deps
.vitepress/dist
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "linejs-docs",
"version": "0.0.0",
"scripts": {
"dev": "vitepress dev docs",
"build": "vitepress build docs",
"serve": "vitepress serve docs"
"dev": "vitepress dev .",
"build": "vitepress build .",
"serve": "vitepress serve ."
},
"devDependencies": {
"vitepress": "^1.3.4",
Expand Down

0 comments on commit edee059

Please sign in to comment.