Skip to content

Commit

Permalink
fix/update working directory in deploy_docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnth committed Nov 21, 2023
1 parent a59d72b commit 0cabe27
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,18 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
working-directory: ./docs
run: yarn
- name: Build with VitePress
working-directory: ./docs
run: |
npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
touch docs/.vitepress/dist/.nojekyll
yarn run docs:build
touch .vitepress/dist/.nojekyll
- name: Upload artifact
working-directory: ./docs
uses: actions/upload-pages-artifact@v2
with:
path: docs/.vitepress/dist
path: .vitepress/dist

# Deployment job
deploy:
Expand Down

0 comments on commit 0cabe27

Please sign in to comment.