Skip to content

Commit 0106415

Browse files
committed
feat(internal): ✨ Add notes on the advanced about page for what particular environment variables are for
1 parent fb6389c commit 0106415

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

src/app/about/advanced/page.tsx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,35 @@ export default function AdvancedSiteInfo() {
3434
<TableRow>
3535
<TableHead>Key</TableHead>
3636
<TableHead>Value</TableHead>
37+
<TableHead>Notes</TableHead>
3738
</TableRow>
3839
</TableHeader>
3940
<TableBody>
40-
<EnvVarRow envVar="VERCEL_GIT_COMMIT_REF" />
41+
<EnvVarRow envVar="VERCEL_GIT_COMMIT_REF">
42+
This represents the name of the branch that this deployment is
43+
produced from. Will be used for DB branching too
44+
</EnvVarRow>
4145
</TableBody>
4246
</Table>
4347
</main>
4448
);
4549
}
4650

47-
function EnvVarRow({ envVar }: { envVar: keyof typeof env }) {
51+
function EnvVarRow({
52+
envVar,
53+
children,
54+
}: {
55+
envVar: keyof typeof env;
56+
children?: React.ReactNode;
57+
}) {
4858
const value = env[envVar];
4959
return (
5060
<TableRow>
5161
<TableCell>{envVar}</TableCell>
5262
<TableCell>
5363
{typeof value === "undefined" ? "undefined" : value}
5464
</TableCell>
65+
<TableCell>{children}</TableCell>
5566
</TableRow>
5667
);
5768
}

0 commit comments

Comments
 (0)