Skip to content

Commit

Permalink
updated deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tb-dhk committed Jul 2, 2024
1 parent 2d40022 commit 6f10fc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '14'
- run: cd wiki
- run: npm ci
- run: npm run docs:build
- uses: actions/upload-artifact@v2
with:
name: vitepress-site
path: wiki/docs/.vitepress/dist
path: docs/.vitepress/dist

deploy:
runs-on: ubuntu-latest
Expand All @@ -52,10 +53,10 @@ jobs:
- uses: actions/download-artifact@v2
with:
name: vitepress-site
path: wiki/docs/.vitepress/dist
path: docs/.vitepress/dist
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: wiki/docs/.vitepress/dist
publish_dir: docs/.vitepress/dist

11 changes: 0 additions & 11 deletions package.json

This file was deleted.

0 comments on commit 6f10fc3

Please sign in to comment.