From c112fab3c1e6d017653e4ee11692a13632b854eb Mon Sep 17 00:00:00 2001 From: ruan-cat <1219043956@qq.com> Date: Sat, 4 May 2024 22:21:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci:=20=E5=B0=9D=E8=AF=95?= =?UTF-8?q?=E5=9C=A8=E6=A0=B9=E7=9B=AE=E5=BD=95=E5=86=85=EF=BC=8C=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=20vercel.json=20=E7=9A=84=E7=9B=AE=E5=BD=95=EF=BC=9B?= =?UTF-8?q?=E5=B0=9D=E8=AF=95=E5=8F=98=E6=9B=B4=E5=B9=B6=E9=A9=B1=E5=8A=A8?= =?UTF-8?q?=20vercel=20=E7=9A=84=E6=89=93=E5=8C=85=E8=A1=8C=E4=B8=BA?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/monorepo-1.yaml | 4 ++-- packages/monorepo-1/vercel.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/monorepo-1.yaml b/.github/workflows/monorepo-1.yaml index 05eb219..123bfee 100644 --- a/.github/workflows/monorepo-1.yaml +++ b/.github/workflows/monorepo-1.yaml @@ -14,7 +14,7 @@ jobs: vercel-token: ${{ secrets.vercel_token }} # Required vercel-org-id: ${{ secrets.vercel_orgId}} #Required vercel-project-id: ${{ secrets.vercel_projectId}} #Required - vercel-args: "--prod" + vercel-args: "--prod --cwd ./ --local-config ./packages/monorepo-1/vercel.json" vercel-version: 34.1.2 - working-directory: ./packages/monorepo-1 + # working-directory: ./packages/monorepo-1 alias-domains: monorepo-1.ruancat6312.top diff --git a/packages/monorepo-1/vercel.json b/packages/monorepo-1/vercel.json index 00d7859..6d4a92e 100644 --- a/packages/monorepo-1/vercel.json +++ b/packages/monorepo-1/vercel.json @@ -1,6 +1,6 @@ { "framework": null, - "buildCommand": "vuepress-vite build src", + "buildCommand": "cd packages/monorepo-1 & vuepress-vite build src", "installCommand": "pnpm install", "outputDirectory": "src/.vuepress/dist", "devCommand": "vuepress-vite dev src --clean-cache",