diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 808a008..9ae11c9 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -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: