We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e06f03a commit 8a996a4Copy full SHA for 8a996a4
packages/plugin-vite/src/plugins/build_id.ts
@@ -43,7 +43,9 @@ export function setBuildId(id) {
43
44
export async function getBuildId(dev: boolean): Promise<string> {
45
const gitRevision = Deno.env.get("DENO_DEPLOYMENT_ID") ??
46
- Deno.env.get("GITHUB_SHA") ?? Deno.env.get("CI_COMMIT_SHA");
+ Deno.env.get("DENO_DEPLOY_BUILD_ID") ??
47
+ Deno.env.get("GITHUB_SHA") ??
48
+ Deno.env.get("CI_COMMIT_SHA");
49
if (gitRevision !== undefined) {
50
return gitRevision.trim();
51
}
0 commit comments