Skip to content

Commit

Permalink
chore: Add vitepress deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
matvp91 committed Oct 19, 2024
1 parent 7ff5104 commit 96a64ef
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -35,16 +38,12 @@ jobs:
uses: actions/configure-pages@v4
- name: Install dependencies
run: pnpm install
with:
working-directory: ./docs
- name: Build with VitePress
run: pnpm build
with:
working-directory: ./docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs.vitepress/dist
path: ./.vitepress/dist
deploy:
environment:
name: github-pages
Expand Down

0 comments on commit 96a64ef

Please sign in to comment.