From 0cabe27b4dbf2824a683a99ce707ce5786c11431 Mon Sep 17 00:00:00 2001 From: maxnth Date: Tue, 21 Nov 2023 14:12:42 +0100 Subject: [PATCH] fix/update working directory in deploy_docs.yml --- .github/workflows/deploy_docs.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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: