Skip to content

Commit

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

0 comments on commit b6c1b85

Please sign in to comment.