Skip to content

Commit

Permalink
Fix Vercel deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoginth committed Sep 25, 2024
1 parent 895d805 commit 0e38141
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .pierre/ci/utils/vercel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@ export const Job =
env: { VERCEL_ORG_ID, VERCEL_PROJECT_ID }
});

await run(
`${vercel} build ${isProd ? "--prod" : ""} --token $VERCEL_ACCESS_TOKEN`,
{
label: `Building ${PROJECT_NAME} Deployment`,
env: { VERCEL_ORG_ID, VERCEL_PROJECT_ID }
}
);
await run(`${vercel} build --prod --token $VERCEL_ACCESS_TOKEN`, {
label: `Building ${PROJECT_NAME} Deployment`,
env: { VERCEL_ORG_ID, VERCEL_PROJECT_ID }
});

const { stdout } = await run(
`${vercel} deploy --prebuilt --scope ${VERCEL_SCOPE} ${isProd ? "" : "--no-wait"} --yes ${
Expand Down

0 comments on commit 0e38141

Please sign in to comment.