Skip to content

Commit

Permalink
Fix update to use baseSha
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoginth committed Sep 27, 2024
1 parent e2cd0a1 commit a240d32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .pierre/ci/utils/vercel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ export const Job =

await run("rm -rf .pnpm-store");

console.log(ctx.branch.baseSha);

const { stdout } = await run(
`${vercel} deploy --scope ${VERCEL_SCOPE} ${isProd ? "" : "--no-wait"} --yes ${
isProd ? "--prod" : ""
} --no-color --token $VERCEL_ACCESS_TOKEN -e GIT_COMMIT_SHA=${
ctx.branch.latestSha
ctx.branch.baseSha
}`,
{ label: `Creating ${PROJECT_NAME} Deployment`, env }
);
Expand Down

0 comments on commit a240d32

Please sign in to comment.