From 4b3d2f6b7e976c963344fcc0443a47d9d43e82fc Mon Sep 17 00:00:00 2001 From: Soheil Nazari Date: Thu, 5 Dec 2024 11:57:39 +0100 Subject: [PATCH] add packageManager to docs package.json, update deploy.yml --- .github/workflows/deploy.yml | 3 ++- docs/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a312e0d..92168f0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,6 +29,7 @@ jobs: cache: pnpm - name: Setup Pages uses: actions/configure-pages@v4 + - working-directory: ./docs - name: Install dependencies run: pnpm i - name: Build with VitePress @@ -36,7 +37,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: docs/.vitepress/dist + path: .vitepress/dist deploy: environment: diff --git a/docs/package.json b/docs/package.json index 82cdad3..a758248 100644 --- a/docs/package.json +++ b/docs/package.json @@ -10,5 +10,6 @@ "mermaid": "^11.4.1", "vitepress": "^1.5.0", "vitepress-plugin-mermaid": "^2.0.17" - } + }, + "packageManager": "pnpm@9.12.0" } \ No newline at end of file