From 0e8502af2447293f5cf713c7c212e6192dcb267a Mon Sep 17 00:00:00 2001 From: Timtaran Date: Tue, 16 Jul 2024 22:39:48 +0500 Subject: [PATCH] set `working-directory` --- .github/workflows/deploy_docs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 50302e6..5e12f5f 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -27,6 +27,7 @@ jobs: # Build job build: runs-on: ubuntu-latest + steps: - name: Checkout uses: actions/checkout@v4 @@ -46,9 +47,11 @@ jobs: - name: Install dependencies run: npm ci # or pnpm install / yarn install / bun install + working-directory: docs - name: Build with VitePress run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build + working-directory: docs - name: Upload artifact uses: actions/upload-pages-artifact@v3