From b6c1b85b7fb74062c688f7b07eaee44440aff3b7 Mon Sep 17 00:00:00 2001 From: Matthias Van Parijs Date: Sat, 19 Oct 2024 17:05:43 +0200 Subject: [PATCH] chore: cd into docs for build --- .github/workflows/deploy-docs.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index b3958cc1..f1b27b96 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -20,9 +20,6 @@ concurrency: jobs: build: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./docs steps: - name: Checkout uses: actions/checkout@v4 @@ -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