Skip to content

Commit 9da2768

Browse files
committed
Added git data to the deployment inspector
1 parent 7be7c30 commit 9da2768

File tree

1 file changed

+10
-0
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.deployments.$deploymentParam

1 file changed

+10
-0
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.deployments.$deploymentParam/route.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Link, useLocation } from "@remix-run/react";
22
import { type LoaderFunctionArgs } from "@remix-run/server-runtime";
33
import { typedjson, useTypedLoaderData } from "remix-typedjson";
44
import { ExitIcon } from "~/assets/icons/ExitIcon";
5+
import { GitMetadata } from "~/components/GitMetadata";
56
import { UserAvatar } from "~/components/UserProfilePhoto";
67
import { AdminDebugTooltip } from "~/components/admin/debugTooltip";
78
import { EnvironmentCombo } from "~/components/environments/EnvironmentLabel";
@@ -198,6 +199,15 @@ export default function Page() {
198199
)}
199200
</Property.Value>
200201
</Property.Item>
202+
203+
<Property.Item>
204+
<Property.Label>Git</Property.Label>
205+
<Property.Value>
206+
<div className="-ml-1 mt-0.5 flex flex-col">
207+
<GitMetadata git={deployment.git} />
208+
</div>
209+
</Property.Value>
210+
</Property.Item>
201211
<Property.Item>
202212
<Property.Label>Deployed by</Property.Label>
203213
<Property.Value>

0 commit comments

Comments
 (0)