Skip to content

Commit

Permalink
🐎 ci: 尝试在根目录内,指定 vercel.json 的目录;尝试变更并驱动 vercel 的打包行为;
Browse files Browse the repository at this point in the history
  • Loading branch information
ruan-cat committed May 4, 2024
1 parent 67d9c36 commit c112fab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/monorepo-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/monorepo-1/vercel.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit c112fab

Please sign in to comment.